No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Components/Alert

Default

Story Source

<VFlow vSpacing={1}>
  <Alert
    onCloseClick={function noRefCheck(){}}
    type="info"
  >
    Information
  </Alert>
  <Alert
    onCloseClick={function noRefCheck(){}}
    type="success"
  >
    Success message
  </Alert>
  <Alert
    onCloseClick={function noRefCheck(){}}
    type="warning"
  >
    Alert message
  </Alert>
  <Alert
    onCloseClick={function noRefCheck(){}}
    type="danger"
  >
    Error message
  </Alert>
</VFlow>

Prop Types

"Alert" Component

propertypropTyperequireddefaultdescription
typeoneOf "danger" | "info" | "success" | "warning"yes-
onCloseClickany--
inlineboolean--
styles{ wrapper?: Interpolation<undefined>; container?: Interpolation<undefined>; }--

"VFlow" Component

propertypropTyperequireddefaultdescription
vSpacingnumber--
styleInterpolation<undefined>--