import React from 'react'; import PropTypes from 'prop-types'; import Popover from 'react-popover'; import {defineMessages, injectIntl, intlShape} from 'react-intl'; import Label from './forms/label.jsx'; import ColorPicker from './color-picker/color-picker.jsx'; import ColorButton from './color-button/color-button.jsx'; import styles from './paint-editor/paint-editor.css'; const messages = defineMessages({ stroke: { id: 'paint.paintEditor.stroke', description: 'Label for the color picker for the outline color', defaultMessage: 'Outline' } }); const StrokeColorIndicatorComponent = props => (
} isOpen={props.strokeColorModalVisible} preferPlace="below" onOuterAction={props.onCloseStrokeColor} >
); StrokeColorIndicatorComponent.propTypes = { intl: intlShape, onChangeStrokeColor: PropTypes.func.isRequired, onCloseStrokeColor: PropTypes.func.isRequired, onOpenStrokeColor: PropTypes.func.isRequired, strokeColor: PropTypes.string, strokeColorModalVisible: PropTypes.bool.isRequired }; export default injectIntl(StrokeColorIndicatorComponent);