FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/ant-design / setModalProps

Type Alias: setModalProps

setModalProps = Dispatch<SetStateAction<ModalProps>>

State setter used to update hook-managed modal props.

Each call shallow-merges the provided object, or the object returned by an updater function, into the existing modal props. When open is set to false, previous modal props are discarded and the modal resets to its initial props.