diff --git a/components/drawer/style/drawer.less b/components/drawer/style/drawer.less index 93f251a745..8b3c08a0bb 100644 --- a/components/drawer/style/drawer.less +++ b/components/drawer/style/drawer.less @@ -105,7 +105,7 @@ } &-extra { - flex: 0; + flex: none; } &-close { diff --git a/components/table/demo/resizable-column.md b/components/table/demo/resizable-column.md index 46f01d69a1..e832f246ac 100644 --- a/components/table/demo/resizable-column.md +++ b/components/table/demo/resizable-column.md @@ -114,7 +114,7 @@ const App: React.FC = () => { }, ]; - const handleResize = + const handleResize: Function = (index: number) => (_: React.SyntheticEvent, { size }: ResizeCallbackData) => { const newColumns = [...columns];