Skip to content

Commit

Permalink
chore(FxInput): add prop size to button
Browse files Browse the repository at this point in the history
  • Loading branch information
Голубев Олег Игоревич committed May 6, 2021
1 parent 4e3e770 commit 32b27f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/react-ui/components/FxInput/FxInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ export class FxInput extends React.Component<FxInputProps> {
inputProps.leftIcon = <FunctionIcon />;
} else {
button = (
<Button narrow onClick={this.props.onRestore} borderless={this.props.borderless} disabled={this.props.disabled}>
<Button
size={this.props.size}
narrow
onClick={this.props.onRestore}
borderless={this.props.borderless}
disabled={this.props.disabled}
>
<UndoIcon />
</Button>
);
Expand Down

0 comments on commit 32b27f1

Please sign in to comment.