@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
52 lines (51 loc) • 1.14 kB
TypeScript
declare const Component: {
variants: ({
props: {
variant: string;
};
style: {
borderWidth: number;
'&:hover, &:active': {
borderWidth: number;
};
};
} | {
props: {
variant: string;
};
style: {
borderWidth?: undefined;
'&:hover, &:active'?: undefined;
};
} | {
props: {
variant: string;
};
style: {
borderWidth: number;
'&:hover, &:active'?: undefined;
};
})[];
styleOverrides: {
root: ({ theme }: any) => {
textTransform: string;
fontWeight: any;
padding: string;
lineHeight: number;
borderRadius: any;
};
sizeSmall: {
fontSize: string;
padding: string;
};
sizeMedium: {
fontSize: string;
padding: string;
};
sizeLarge: {
fontSize: string;
padding: string;
};
};
};
export default Component;