import { CSSObject } from 'styled-components'; import { ResponsiveValue } from 'styled-system'; export type StyleFn = (props: Record) => string | number; export interface ComponentVariant

{ prop: P; variants: { [key in V]: { [key: string]: ResponsiveValue; }; }; } export type ComponentSettings = { cssOverrides?: CSSObject; componentVariants: V; }; export type Components = 'Button' | 'BodyText' | 'Heading';