import React, { useState } from 'react'; import { OptionButton } from './option-button'; export const Preview = () => { const [active, setActive] = useState(false); return setActive(!active)} />; }; export const Checked = () => { const [active, setActive] = useState(true); return setActive(!active)} />; }; export const DifferentSizes = () => { const [active, setActive] = useState(false); return (
setActive(!active)} style={{ fontSize: 12 }} />{' '} setActive(!active)} style={{ fontSize: 24 }} />{' '} setActive(!active)} style={{ fontSize: 32 }} />
); }; export const InlineWithText = () => { const [active, setActive] = useState(false); return (
lorem ipsum setActive(!active)} /> dolor sit amet
); };