scratch-paint/src/components/text-mode/text-mode.jsx

28 lines
778 B
React
Raw Normal View History

2017-12-21 11:24:38 -05:00
import React from 'react';
import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx';
import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx';
import textIcon from './text.svg';
const TextModeComponent = () => (
<ComingSoonTooltip
place="right"
tooltipId="text-mode-select"
>
<ToolSelectComponent
disabled
imgDescriptor={{
defaultMessage: 'Text',
description: 'Label for the text tool',
id: 'paint.textMode.text'
}}
imgSrc={textIcon}
isSelected={false}
onMouseDown={function () {}} // eslint-disable-line react/jsx-no-bind
2017-12-21 11:24:38 -05:00
/>
</ComingSoonTooltip>
);
export default TextModeComponent;