Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: fix type error
Browse files Browse the repository at this point in the history
Signed-off-by: csonchen <cson_chensheng@163.com>
  • Loading branch information
csonchen committed Jul 6, 2023
1 parent e65beab commit 61975a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ export interface ModalProps extends Omit<BsModalProps, 'size'> {
preventDragByTitle?: boolean;
/**对话框大小 */
size?: BsModalProps['size'] | 'xlarge';
/**点击close按钮时触发的回调 */
onHide?: () => void;
}

interface SwitchInput {
Expand Down Expand Up @@ -436,7 +434,7 @@ export interface DatePickerProps extends DatePickerDefaultProps {

export interface PanelProps {
/**展示卡片内容 */
children: React.ReactNode;
children?: React.ReactNode;
/**类名 */
className?: string;
/**面板头部内容 */
Expand Down

0 comments on commit 61975a6

Please sign in to comment.