File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import styles from '../../assets/jss/material-dashboard-react/components/cardHea
5
5
6
6
const useStyles = makeStyles ( styles ) ;
7
7
8
- type CardHeaderColor = 'warning' | 'success' | 'danger' | 'info' | 'primary' | 'rose' ;
8
+ export type CardHeaderColor = 'warning' | 'success' | 'danger' | 'info' | 'primary' | 'rose' ;
9
9
10
10
interface CardHeaderProps extends React . ComponentProps < 'div' > {
11
11
className ?: string ;
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ type Color =
17
17
| 'transparent' ;
18
18
type Size = 'sm' | 'lg' ;
19
19
20
- interface RegularButtonProps extends ButtonProps {
21
- customColor ?: Color ;
20
+ interface RegularButtonProps extends Omit < ButtonProps , 'color' | 'size' > {
21
+ color ?: Color ;
22
22
round ?: boolean ;
23
23
disabled ?: boolean ;
24
24
simple ?: boolean ;
25
- customSize ?: Size ;
25
+ size ?: Size ;
26
26
block ?: boolean ;
27
27
link ?: boolean ;
28
28
justIcon ?: boolean ;
You can’t perform that action at this time.
0 commit comments