import React from 'react';
import { SnackBar } from '.';

export default {
  title: 'SnackBar',
  component: SnackBar,
};

export const Default = () => (
  <SnackBar
    details="This SnackBar will be automatically dismissed in 10 seconds."
    onDismiss={() => {
      console.log('Dismiss SnackBar');
    }}
  />
);
