-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCard.d.ts
35 lines (30 loc) · 1.16 KB
/
Card.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import {
Component
} from 'react'
import {
RMWCTagProps,
RippleTagProps,
SimpleBaseProps
} from './Base'
export interface CardProps extends SimpleBaseProps<Card> {
outlined?: boolean;
}
export interface CardMediaProps extends SimpleBaseProps<CardMedia> {
square?: boolean;
sixteenByNine?: boolean;
}
export interface CardActionsProps extends SimpleBaseProps<CardActions> {
fullBleed?: boolean;
}
export interface CardActionProps extends SimpleBaseProps<CardAction> {
icon?: boolean;
iconToggle: boolean;
}
export class Card extends Component<CardProps> { }
export class CardPrimaryAction extends Component<SimpleBaseProps<CardPrimaryAction>> { }
export class CardMedia extends Component<SimpleBaseProps<CardMedia>> { }
export class CardMediaContent extends Component<SimpleBaseProps<CardMediaContent>> { }
export class CardActions extends Component<CardActionsProps> { }
export class CardActionButtons extends Component<SimpleBaseProps<CardActionButtons>> { }
export class CardActionIcons extends Component<SimpleBaseProps<CardActionIcons>> { }
export class CardAction extends Component<CardActionProps> { }