Split from https://github.com/twentyhq/twenty/pull/4518 Part of https://github.com/twentyhq/twenty/issues/4766
12 lines
287 B
TypeScript
12 lines
287 B
TypeScript
import { createState, IconApps, IconComponent } from 'twenty-ui';
|
|
|
|
type IconPickerState = {
|
|
Icon: IconComponent;
|
|
iconKey: string;
|
|
};
|
|
|
|
export const iconPickerState = createState<IconPickerState>({
|
|
key: 'iconPickerState',
|
|
defaultValue: { Icon: IconApps, iconKey: 'IconApps' },
|
|
});
|