well.stories.js 462 B

123456789101112131415161718192021222324252627
  1. import React from 'react';
  2. import Well from 'app/components/well';
  3. export default {
  4. title: 'UI/Well',
  5. component: Well,
  6. };
  7. const Template = ({...args}) => (
  8. <Well {...args}>
  9. <p>Some content in the well</p>
  10. </Well>
  11. );
  12. export const _Well = Template.bind({});
  13. _Well.args = {
  14. hasImage: false,
  15. centered: false,
  16. };
  17. _Well.parameters = {
  18. docs: {
  19. description: {
  20. story: 'Well is a container that adds background and padding',
  21. },
  22. },
  23. };