This adds a new footerContent prop on Modal which supports custom content being rendered in the default footer. This is useful for rendering custom content in the modal's default footer without having to render a fully custom button bar.
Add footerContent prop on Modal which is passed through as the children of ModalButtons. Useful for rendering content to the left of the modal confirmation buttons.
Rationale
This adds a new
footerContent
prop onModal
which supports custom content being rendered in the default footer. This is useful for rendering custom content in the modal's default footer without having to render a fully custom button bar.Related Pull Requests
Changes
footerContent
prop onModal
which is passed through as thechildren
ofModalButtons
. Useful for rendering content to the left of the modal confirmation buttons.