oops
This commit is contained in:
parent
1e4d5b5618
commit
d0be27b555
|
@ -31,11 +31,12 @@ function ButtonSelect<L extends string>(props: PickerProps<L>) {
|
|||
{ "btn-sm": props.small || props.xSmall }
|
||||
)}
|
||||
onClick={() => props.handleChange(option.value)}
|
||||
style={props.xSmall ? {
|
||||
fontSize: "small",
|
||||
style={{
|
||||
...props.xSmall ?
|
||||
{ fontSize: "small" }: {},
|
||||
...option.color ?
|
||||
{ background: option.color } : {},
|
||||
} : {}}
|
||||
}}
|
||||
>
|
||||
{option.label}
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue