mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-25 12:38:39 -06:00
no mo flex
This commit is contained in:
@@ -3,7 +3,7 @@ import { SizeTokens, XStack, Label, Separator, Switch } from "tamagui";
|
||||
export function SwitchWithLabel(props: { size: SizeTokens; checked: boolean, label: string, onCheckedChange: (value: boolean) => void }) {
|
||||
const id = `switch-${props.size.toString().slice(1)}-${props.checked ?? ''}}`
|
||||
return (
|
||||
<XStack flex={1} width={200} alignItems="center" gap="$4">
|
||||
<XStack width={200} alignItems="center" gap="$4">
|
||||
<Label
|
||||
paddingRight="$0"
|
||||
minWidth={90}
|
||||
|
||||
Reference in New Issue
Block a user