bloom-housing / ui-seeds

Shared user interface components for Bloom affordable housing system
Apache License 2.0
1 stars 1 forks source link

feat: add onClose feature to CommonMessage #81

Closed jaredcwhite closed 4 months ago

jaredcwhite commented 4 months ago

Issue Overview

This PR addresses #80

Description

You can now pass an onClose prop with a callback to any of the CommonMessage components (Alert, Message, and Toast—but this is primarily for use with Alert).

How Can This Be Tested/Reviewed?

There's an example in Storybook here: https://deploy-preview-81--storybook-ui-seeds.netlify.app/?path=/story/blocks-alert--wide-container-layout

Checklist:

netlify[bot] commented 4 months ago

Deploy Preview for storybook-ui-seeds ready!

Name Link
Latest commit 185be45485e83a4437b4b924f6bde307554ca342
Latest deploy log https://app.netlify.com/sites/storybook-ui-seeds/deploys/660df4cb6338f400082aa535
Deploy Preview https://deploy-preview-81--storybook-ui-seeds.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 1.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: