Skip to content

Commit

Permalink
fix: icon component for TextSizeButton in RichTextEditor (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored Oct 27, 2023
1 parent 522774b commit d2160ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const TextSizeButton = (props) => {
const createInlineStyleButton = props.draftJsCreateInlineStyleButton.default;
return createInlineStyleButton({
style: 'TEXT_LARGER',
children: ButtonIcon,
children: <ButtonIcon />,
});
};
export default TextSizeButton;

0 comments on commit d2160ce

Please sign in to comment.