### 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>
12 lines
436 B
TypeScript
12 lines
436 B
TypeScript
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} />;
|
|
};
|