https://github.com/twentyhq/twenty/issues/6950 Add new Settings Card for Config Data Type and accounts Settings Before: <img width="707" alt="Screenshot 2024-09-11 at 17 43 16" src="https://github.com/user-attachments/assets/63ff9373-fa86-4b22-8e8b-21483039c3be"> After: <img width="755" alt="Screenshot 2024-09-17 at 14 15 18" src="https://github.com/user-attachments/assets/213c24a1-dc1c-4ffb-8890-7c1f63ed376c"> <img width="755" alt="Screenshot 2024-09-17 at 14 15 38" src="https://github.com/user-attachments/assets/0fc12d19-b92a-493d-80fa-0064cf491fbc">
26 lines
813 B
TypeScript
26 lines
813 B
TypeScript
import { useTheme } from '@emotion/react';
|
|
import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';
|
|
|
|
import IllustrationIconOneToOneRaw from '@ui/display/icon/assets/illustration-one-to-one.svg?react';
|
|
import { IconComponentProps } from '@ui/display/icon/types/IconComponent';
|
|
|
|
type IllustrationIconOneToOneProps = Pick<IconComponentProps, 'size'>;
|
|
|
|
export const IllustrationIconOneToOne = (
|
|
props: IllustrationIconOneToOneProps,
|
|
) => {
|
|
const theme = useTheme();
|
|
const size = props.size ?? theme.icon.size.lg;
|
|
const { color, fill } = theme.IllustrationIcon;
|
|
return (
|
|
<IllustrationIconWrapper>
|
|
<IllustrationIconOneToOneRaw
|
|
height={size}
|
|
width={size}
|
|
fill={fill}
|
|
color={color}
|
|
/>
|
|
</IllustrationIconWrapper>
|
|
);
|
|
};
|