import React, { useState } from 'react'; import { Collapse } from 'reablocks'; import { Button } from 'reablocks'; export default { title: 'Components/Layout/Collapse', component: Collapse }; export const Simple = () => { const [expanded, setExpanded] = useState(false); return (

Hello

The quick fox jumped over the fence

The quick fox jumped over the fence

The quick fox jumped over the fence

); }; export const NoAnimation = () => { const [expanded, setExpanded] = useState(false); return (

Hello

The quick fox jumped over the fence

The quick fox jumped over the fence

The quick fox jumped over the fence

); }; export const CustomAnimation = () => { const [expanded, setExpanded] = useState(false); return (

Hello

The quick fox jumped over the fence

The quick fox jumped over the fence

The quick fox jumped over the fence

); };