title | ReactNode | ✘ | Card title |
header | ReactNode | ✘ | Card header |
footer | ReactNode | ✘ | Card footer |
size | small medium large | ✘ | Card size |
shape | square circle round | ✘ | Card shape |
loading | boolean | ✘ | Whether the card is loading |
disabled | boolean | ✘ | Whether or not to disable the card |
padding | boolean | ✘ | Whether the Card content is set to padding |
border | boolean | ✘ | Whether the card is set to border |
content | ReactNode | ✘ | Card content |
onClick | (e: React.MouseEvent) => void | ✘ | This function is called when card is clicked |
onTouchEnd | (e: React.TouchEvent) => void | ✘ | This function is called when the card is pressed |
onPress | (e: GestureResponderEvent) => void | ✘ | This function is called when the card is pressed -- react native |
renderHeader | (props: CardHeaderProps) => ReactNode | ✘ | Render the card header |
renderMain | (props: CardMainProps) => ReactNode | ✔ | Render the card main |
renderFooter | (props: CardFooterProps) => ReactNode | ✘ | Render the card footer |
renderContainer | (props: CardContainerProps) => ReactNode | ✔ | Render the card container |