Browse Source

docs(dropdown): update icon import

走鹃 3 years ago
parent
commit
911e4facc4
2 changed files with 2 additions and 20 deletions
  1. 1 10
      content/show/dropdown/index-en-US.md
  2. 1 10
      content/show/dropdown/index.md

+ 1 - 10
content/show/dropdown/index-en-US.md

@@ -90,16 +90,7 @@ By configuring `icon` on `Dropdown.Item` (`icon` needs to be ReactNode), you can
 ```jsx live=true
 ```jsx live=true
 import React from 'react';
 import React from 'react';
 import { Dropdown, Button } from '@douyinfe/semi-ui';
 import { Dropdown, Button } from '@douyinfe/semi-ui';
-import {
-    IconBox,
-    IconSimilarity,
-    IconSetting,
-    IconForward,
-    IconColorPalette,
-    IconRefresh,
-    IconSearch,
-    IconBranch,
-} from '@douyinfe/semi-icons';
+import { IconBox, IconSimilarity, IconSetting, IconForward, IconColorPalette, IconRefresh, IconSearch, IconBranch } from '@douyinfe/semi-icons';
 
 
 function Demo() {
 function Demo() {
     return (
     return (

+ 1 - 10
content/show/dropdown/index.md

@@ -89,16 +89,7 @@ function Demo() {
 ```jsx live=true
 ```jsx live=true
 import React from 'react';
 import React from 'react';
 import { Dropdown, Button } from '@douyinfe/semi-ui';
 import { Dropdown, Button } from '@douyinfe/semi-ui';
-import {
-    IconBox,
-    IconSimilarity,
-    IconSetting,
-    IconForward,
-    IconColorPalette,
-    IconRefresh,
-    IconSearch,
-    IconBranch,
-} from '@douyinfe/semi-icons';
+import { IconBox, IconSimilarity, IconSetting, IconForward, IconColorPalette, IconRefresh, IconSearch, IconBranch } from '@douyinfe/semi-icons';
 
 
 function Demo() {
 function Demo() {
     return (
     return (