Migrate to twenty-ui - input components (#7914)
### Description Migrate Input components: - CardPicker - Radio - RadioGroup - Checkbox - Toggle - IconListViewGrip ### Demo Radio Component on Storybook  Checkbox component on Storybook  ###### Fixes twentyhq/private-issues#92 Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
committed by
GitHub
parent
ff388f56ea
commit
fc8c9d9167
11
packages/twenty-ui/src/input/components/IconListViewGrip.tsx
Normal file
11
packages/twenty-ui/src/input/components/IconListViewGrip.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import IconListViewGripRaw from '@ui/input/components/list-view-grip.svg?react';
|
||||
import { IconComponentProps } from '@ui/display/icon/types/IconComponent';
|
||||
|
||||
type IconListViewGripProps = Pick<IconComponentProps, 'size' | 'stroke'>;
|
||||
|
||||
export const IconListViewGrip = (props: IconListViewGripProps) => {
|
||||
const width = props.size ?? 8;
|
||||
const height = props.size ?? 32;
|
||||
|
||||
return <IconListViewGripRaw height={height} width={width} />;
|
||||
};
|
||||
Reference in New Issue
Block a user