Browse Source

fix: [Select] Fix the problem that restTagsPopoverProps in select is not set as an optional parameter, causing ts to report an error

zhangyumei.0319 3 years ago
parent
commit
249073f1d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/semi-ui/select/index.tsx

+ 1 - 1
packages/semi-ui/select/index.tsx

@@ -154,7 +154,7 @@ export type SelectProps = {
     children?: React.ReactNode;
     preventScroll?: boolean;
     showRestTagsPopover?: boolean;
-    restTagsPopoverProps: PopoverProps
+    restTagsPopoverProps?: PopoverProps
 } & Pick<
 TooltipProps,
 | 'spacing'