well.stories.js 445 B

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