internal: incomplete vault systems behind feature flag (#2340)

This commit is contained in:
Mo
2023-06-30 09:01:56 -05:00
committed by GitHub
parent d16e401bb9
commit b032eb9c9b
638 changed files with 20321 additions and 4813 deletions

View File

@@ -5,9 +5,10 @@ type Props = {
items: { label: string; value: string }[]
value: string
onChange: (value: string) => void
className?: string
}
const RadioButtonGroup = ({ value, items, onChange }: Props) => {
const RadioButtonGroup = ({ value, items, onChange, className }: Props) => {
const radio = useRadioStore({
value,
orientation: 'horizontal',
@@ -17,7 +18,7 @@ const RadioButtonGroup = ({ value, items, onChange }: Props) => {
})
return (
<RadioGroup store={radio} className="flex divide-x divide-border rounded border border-border">
<RadioGroup store={radio} className={`flex divide-x divide-border rounded border border-border ${className ?? ''}`}>
{items.map(({ label, value: itemValue }) => (
<label
className={classNames(