setErrorLevel(e.value as ErrorLevel)}
>
{['L', 'M', 'Q', 'H'].map((level) => (
{level}
))}
)
}
```
#### Solid
```tsx
import { QrCode } from '@ark-ui/solid/qr-code'
import { RadioGroup } from '@ark-ui/solid/radio-group'
import { For, createSignal } from 'solid-js'
import styles from 'styles/qr-code.module.css'
import radio from 'styles/radio-group.module.css'
type ErrorLevel = 'L' | 'M' | 'Q' | 'H'
export const ErrorCorrection = () => {
const [errorLevel, setErrorLevel] = createSignal