import { useState } from 'react'; import { PixelRadioGroup } from './PixelRadioGroup'; const PLANS = [ { value: 'free', label: 'Free' }, { value: 'pro', label: 'Pro' }, { value: 'team', label: 'Team' }, ]; export function Default() { const [value, setValue] = useState('free'); return ( ); } export function Controlled() { const [value, setValue] = useState('pro'); return (

Picked: {value}

); } export function Tones() { const [value, setValue] = useState('pro'); return (
); } export function Surfaces() { const [pixel, setPixel] = useState('pro'); const [linear, setLinear] = useState('pro'); return (
); } export function Disabled() { return ( {}} disabled /> ); } export function Required() { const [value, setValue] = useState(''); return ( ); } export function WithFormName() { const [value, setValue] = useState('pro'); return (
); }