design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Toast: icon colours off, small docs update for duration

Open kwilloughby opened this issue 10 years ago • 0 comments

The icon colours are off

The React implementation is inconsistent with SLDS (https://latest-204.lightningdesignsystem.com/components/notifications#flavor-toast).

The close button and icon are incorrect.

image


Also, docs could use some tweaking

Whomever does this, while you're in there, please update the comments for the duration prop to mention that it is expecting milliseconds.

The fact that it is milliseconds makes sense if you are very familiar with javascript, but I suspect that many people who end up using this library will not be and might think CSS's duration might be a good format 0.5 (seconds). Zero-point-five milliseconds would be quite fast. ;)

kwilloughby avatar Sep 13 '16 22:09 kwilloughby