docs(modal): add multiple modals example (#980)

Refs: #975
This commit is contained in:
Eric Liu 2022-01-08 09:41:00 -08:00 committed by GitHub
commit 3ca0297b5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -14,6 +14,10 @@
<FileSource src="/framed/Modal/PassiveModal" />
### Multiple modals
<FileSource src="/framed/Modal/ModalMultiple" />
### Multiple secondary buttons
Use the `secondaryButtons` prop to render two secondary buttons for a "3-button modal". The prop is a 2-tuple type that supersedes `secondaryButtonText`.