Closed leopku closed 4 years ago
The type here you are writing is for action.
"type" here in the library is based for themes, idk if type"submit" is needed here.
If you want to use native props type
on the Modal.Action
, please use htmlType
instead of it.
<Modal.Action form="msg_form" htmlType="submit">Submit</Modal.Action>
Component Modal.Action
inherits from component Button
, we can see from the document of Button
that htmlType
is the alias of the native property.
Bug report 🐞
Version & Environment
geist-ui/react
2.0.2Actual results (or Errors)
I got an error: