Skip to content

Commit

Permalink
type: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Jan 25, 2024
1 parent f122ee4 commit d9a7e7b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/config-provider/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,8 @@ export interface ButtonConfig extends ComponentStyleConfig {
styles?: ButtonProps['styles'];
}

export interface DrawerConfig extends ComponentStyleConfig {
classNames?: DrawerProps['classNames'];
styles?: DrawerProps['styles'];
closeIcon?: DrawerProps['closeIcon'];
}
export type DrawerConfig = ComponentStyleConfig &
Pick<DrawerProps, 'classNames' | 'styles' | 'closeIcon'>;

export interface FlexConfig extends ComponentStyleConfig {
vertical?: FlexProps['vertical'];
Expand Down

0 comments on commit d9a7e7b

Please sign in to comment.