Horizontal Users

This commit is contained in:
Adolfo Reyna
2022-12-22 17:52:04 -05:00
parent 7bf7d8feae
commit 3d50977520
3 changed files with 129 additions and 23 deletions

View File

@@ -16,26 +16,23 @@ let MenuView = ()=>{
return (
<View>
<List.Section title="Settings">
<List.Accordion
title="User Actions"
left={props => <List.Icon {...props} icon="person" />}
expanded={true}
>
<List.Item title="Sign out" left={props => <List.Icon {...props} icon="logout" />} />
</List.Accordion>
<List.Section title="User Actions">
<List.Item title="Settings" left={props => <List.Icon {...props} icon="settings" />} />
<List.Item title="Sign out" left={props => <List.Icon {...props} icon="logout" />} />
<List.Item title="About" left={props => <List.Icon {...props} icon="more" />} />
</List.Section>
<RadioButton.Group onValueChange={newValue => setValue(newValue)} value={value}>
<View>
<Text>Español</Text>
<RadioButton value="es" />
</View>
<View>
<Text>English</Text>
<RadioButton value="en" />
</View>
</RadioButton.Group>
<View>
<RadioButton.Group onValueChange={newValue => setValue(newValue)} value={value}>
<View>
<Text>Español</Text>
<RadioButton value="es" />
</View>
<View>
<Text>English</Text>
<RadioButton value="en" />
</View>
</RadioButton.Group>
</View>
</View>
)
}