Toast - React
import { Toast } from '@sky-uk/ui-core';
The Toast
components is used to provide feedback to the user that an action has been completed.
Toast when positioned at the bottom of the screen
Toast positioned over another element
Props
src
The src
requires the content of an svg tag of the icon that you want to render. It is recommended to use icons from the @sky-uk/skycons
package. (See Skycons).
System Modifiers
The Toast
component also supports the props applied using the following system modifiers: