mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Make the default Date input icons less prominent
This commit is contained in:
parent
b7c6344e47
commit
bfd714ab9c
@ -46,7 +46,12 @@ const FlexSpaced = styled.div({
|
||||
marginLeft: 0,
|
||||
},
|
||||
});
|
||||
const FlexInput = styled(Form.Input)({ flex: 1 });
|
||||
const FlexInput = styled(Form.Input)({
|
||||
flex: 1,
|
||||
'&::-webkit-calendar-picker-indicator': {
|
||||
opacity: 0.5,
|
||||
},
|
||||
});
|
||||
|
||||
export type DateProps = ControlProps<DateValue> & DateConfig;
|
||||
export const DateControl: FC<DateProps> = ({ name, value, onChange }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user