type: styles should be optional for cardProps (#47601)

Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
This commit is contained in:
Yawen Xiao 2024-02-27 00:08:38 +08:00 committed by GitHub
parent 9c72ee3235
commit c06dc8e960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ export type TagConfig = ComponentStyleConfig & Pick<TagProps, 'closeIcon'>;
export interface CardConfig extends ComponentStyleConfig {
classNames?: CardProps['classNames'];
styles: CardProps['styles'];
styles?: CardProps['styles'];
}
export type DrawerConfig = ComponentStyleConfig &