File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,14 @@ export type CardProps = {
2424 end ?: ReactNode ;
2525 endDetail ?: ReactNode ;
2626 badges ?: ReactNode [ ] ; // todo: restrict to badge component ? these badges are display on the image
27- footer ?: ReactNode ; // where actions can be placed
28- horizontal ?: boolean ;
29- size ?: "small" | "medium" | "large" ; // only affect the text
30- enlargeLink ?: boolean ; // make the whole card clickable
31- iconId ?: FrIconClassName | RiIconClassName ; // only needed when enlargeMode=true
27+ /** where actions can be placed */
28+ footer ?: ReactNode ;
29+ /** only affect the text */
30+ size ?: "small" | "medium" | "large" ;
31+ /** make the whole card clickable */
32+ enlargeLink ?: boolean ;
33+ /** only needed when enlargeMode=true */
34+ iconId ?: FrIconClassName | RiIconClassName ;
3235 shadow ?: boolean ;
3336 background ?: boolean ;
3437 border ?: boolean ;
@@ -57,7 +60,9 @@ export type CardProps = {
5760} & ( CardProps . Default | CardProps . Horizontal ) ;
5861
5962export namespace CardProps {
60- export type Default = { } ;
63+ export type Default = {
64+ horizontal ?: never ;
65+ } ;
6166
6267 export type Horizontal = {
6368 horizontal : true ;
You can’t perform that action at this time.
0 commit comments