@elacity-js/uikit
Version:
React / Material UI Design kit for Elacity project
60 lines (59 loc) • 1.5 kB
TypeScript
import { Theme } from '@mui/material/styles';
export default function Button(theme: Theme): {
MuiButton: {
defaultProps: {
shape: string;
};
variants: ({
props: {
shape: string;
};
style: {
borderRadius?: undefined;
};
} | {
props: {
shape: string;
};
style: {
borderRadius: number;
};
})[];
styleOverrides: {
root: {
textTransform: string;
'&:hover': {};
};
sizeLarge: {
height: number;
};
containedInherit: {
color: string;
boxShadow: string;
'&:hover': {
backgroundColor: string;
};
};
containedPrimary: {
boxShadow: string;
'&:hover': {
backgroundColor: string;
};
};
containedSecondary: {
boxShadow: string;
};
outlinedInherit: {
border: string;
'&:hover': {
backgroundColor: string;
};
};
textInherit: {
'&:hover': {
backgroundColor: string;
};
};
};
};
};