Sfoglia il codice sorgente

更新 'Button.mdx'

chenxixian 6 anni fa
parent
commit
816b0662dd
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      Button.mdx

+ 3 - 2
Button.mdx

@@ -4,9 +4,10 @@ menu: Components
 ---
 
 import { Playground, Props } from 'docz'
-import { Button } from './Button'
+import { Button, EditButton} from './Button'
 
-# Button
+# Button 
+<EditButton />
 
 Buttons make common actions more obvious and help users more easily perform them. Buttons use labels and sometimes icons to communicate the action that will occur when the user touches them.