Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: customize control icon use text #918

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/business/ControlBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export default class ControlBar extends React.Component {
<FontSizePicker
key={uuidv4()}
fontSizes={fontSizes}
defaultCaption={controlItem.title}
defaultCaption={controlItem.text}
{...commonProps}
/>
);
Expand All @@ -356,7 +356,7 @@ export default class ControlBar extends React.Component {
<LineHeightPicker
key={uuidv4()}
lineHeights={lineHeights}
defaultCaption={controlItem.title}
defaultCaption={controlItem.text}
{...commonProps}
/>
);
Expand All @@ -366,7 +366,7 @@ export default class ControlBar extends React.Component {
<LetterSpacingPicker
key={uuidv4()}
letterSpacings={letterSpacings}
defaultCaption={controlItem.title}
defaultCaption={controlItem.text}
{...commonProps}
/>
);
Expand All @@ -375,7 +375,7 @@ export default class ControlBar extends React.Component {
return (
<TextIndent
key={uuidv4()}
defaultCaption={controlItem.title}
defaultCaption={controlItem.text}
{...commonProps}
/>
);
Expand All @@ -385,7 +385,7 @@ export default class ControlBar extends React.Component {
<FontFamilyPicker
key={uuidv4()}
fontFamilies={fontFamilies}
defaultCaption={controlItem.title}
defaultCaption={controlItem.text}
{...commonProps}
/>
);
Expand Down