Split from https://github.com/twentyhq/twenty/pull/4518 Related to #4766 Mutualizes eslint config between projects. I didn't include `twenty-server` in this PR as this was causing too many lint errors.
14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
import { createState, IconApps } from 'twenty-ui';
|
|
|
|
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
|
|
|
|
type IconPickerState = {
|
|
Icon: IconComponent;
|
|
iconKey: string;
|
|
};
|
|
|
|
export const iconPickerState = createState<IconPickerState>({
|
|
key: 'iconPickerState',
|
|
defaultValue: { Icon: IconApps, iconKey: 'IconApps' },
|
|
});
|