Marina Yakovenko 5 năm trước cách đây
mục cha
commit
c2f9e9ff15
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/button/button.js

+ 1 - 1
src/components/button/button.js

@@ -1,4 +1,4 @@
 import React from 'react'
 
-export default ({text, type = "button", disabled, ...rest}) => 
+export default ({text, type = "button", id, disabled, ...rest}) => 
     <button type = {type} disabled = {disabled} {...rest}>{text}</button>;