clippedBox.stories.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import React from 'react';
  2. import ClippedBox from 'app/components/clippedBox';
  3. export default {
  4. title: 'UI/ClippedBox',
  5. component: ClippedBox,
  6. args: {
  7. title: 'Clipped Box Title',
  8. clipHeight: 60,
  9. btnText: 'expand',
  10. defaultClipped: true,
  11. },
  12. argTypes: {
  13. onReveal: {action: 'onReveal'},
  14. },
  15. };
  16. export const Default = ({...args}) => (
  17. <div>
  18. <div>
  19. <ClippedBox {...args}>
  20. Tilde taiyaki lumbersexual, franzen gochujang forage mixtape meditation mumblecore
  21. af food truck etsy butcher. Post-ironic taiyaki affogato, artisan biodiesel
  22. kickstarter direct trade try-hard tacos subway tile swag vice trust fund shaman
  23. whatever. Everyday carry cliche lomo, bicycle rights vaporware tbh meditation
  24. occupy bespoke. Meh green juice enamel pin thundercats, aesthetic intelligentsia
  25. hoodie fanny pack venmo. Kale chips tacos activated charcoal pinterest tousled
  26. hoodie 8-bit occupy distillery. Tote bag godard thundercats small batch banjo, DIY
  27. waistcoat. Glossier poutine VHS put a bird on it listicle deep v letterpress. Tbh
  28. banjo paleo cred hoodie. Live-edge synth twee, subway tile coloring book woke swag
  29. XOXO cornhole glossier neutra hell of lo-fi brooklyn actually. Retro beard
  30. jianbing, shoreditch kitsch banh mi flexitarian mustache cold-pressed. Sriracha af
  31. brooklyn, poutine snackwave taxidermy ugh locavore mlkshk shaman before they sold
  32. out +1. Microdosing copper mug edison bulb, synth tote bag man braid heirloom.
  33. Cray tattooed portland, echo park sustainable gluten-free chartreuse hexagon.
  34. Pitchfork fixie keffiyeh mustache +1 vinyl, cliche pok pok vegan hashtag live-edge
  35. williamsburg wayfarers butcher beard.
  36. </ClippedBox>
  37. </div>
  38. </div>
  39. );
  40. Default.storyName = 'ClippedBox';
  41. Default.parameters = {
  42. docs: {
  43. description: {
  44. story: 'Component that clips content and allows expansion of container',
  45. },
  46. },
  47. };