Skip to content

Commit

Permalink
type: styles should be optional for cardProps (#47601)
Browse files Browse the repository at this point in the history
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
  • Loading branch information
Yawenina and yawen.xiao committed Feb 26, 2024
1 parent 9c72ee3 commit c06dc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/config-provider/context.ts
Expand Up @@ -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 &
Expand Down

0 comments on commit c06dc8e

Please sign in to comment.