diff --git a/src/components/formatter/collaborator-formatter.js b/src/components/formatter/collaborator-formatter.js index 12af9ee..f58ab5f 100644 --- a/src/components/formatter/collaborator-formatter.js +++ b/src/components/formatter/collaborator-formatter.js @@ -1,9 +1,15 @@ import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import styles from '../../css/plugin-layout.module.css'; class CollaboratorFormatter extends Component { + static propTypes = { + value: PropTypes.array, + collaborators: PropTypes.array, + }; + getCollaboratorsList = () => { let { value, collaborators } = this.props; let validCollaborators = []; @@ -21,7 +27,7 @@ class CollaboratorFormatter extends Component { } }); return validCollaborators; - } + }; render() { let collaboratorList = this.getCollaboratorsList(); diff --git a/src/css/select.css b/src/css/select.css index beae7b3..a7f19a5 100644 --- a/src/css/select.css +++ b/src/css/select.css @@ -19,11 +19,10 @@ cursor: pointer; } -.dtable-select .dtable-icon-drop-down { +.dtable-select .dtable-icon-down3 { display: inline-block; font-size: 12px; color: rgba(116, 116, 116, 1); - transform: scale(.8) translateY(2px); transition: all .1s; } @@ -87,4 +86,4 @@ line-height: 1; font-size: 14px; color: #949494; -} \ No newline at end of file +}