Skip to content

Commit d3aaeb7

Browse files
committed
add button (nonfunctional)
1 parent c2a6e42 commit d3aaeb7

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Loading

src/components/mode-tools/mode-tools.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ import shapeFilterIcon from './icons/filter.svg';
5757
import alignLeftIcon from './icons/alignLeft.svg';
5858
import alignRightIcon from './icons/alignRight.svg';
5959
import alignCenterIcon from './icons/alignCenter.svg';
60+
import textToShapesIcon from './icons/text-to-shapes.svg';
6061
import bitBrushIcon from '../bit-brush-mode/brush.svg';
6162
import bitEraserIcon from '../bit-eraser-mode/eraser.svg';
6263
import bitLineIcon from '../bit-line-mode/line.svg';
@@ -784,6 +785,13 @@ const ModeToolsComponent = props => {
784785
onClick={props.onTextAlignRight}
785786
/>
786787
</InputGroup>
788+
<InputGroup className={classNames(styles.modDashedBorder, styles.modLabeledIconHeight)}>
789+
<LabeledIconButton
790+
imgSrc={textToShapesIcon}
791+
title={'Convert'}
792+
onClick={props.onTextAlignLeft}
793+
/>
794+
</InputGroup>
787795
</div>
788796
);
789797
case Modes.BIT_RECT:

0 commit comments

Comments
 (0)