[🐴] Settings screen (#3830)
* create settings screen + api * update api package * use putrecord API with validate false * create new RadioGroup component
This commit is contained in:
parent
9861494e34
commit
5af61ca4e4
6 changed files with 216 additions and 28 deletions
|
@ -1,9 +1,10 @@
|
|||
import React from 'react'
|
||||
import {StyleProp, StyleSheet, TextStyle, View, ViewStyle} from 'react-native'
|
||||
|
||||
import {choose} from 'lib/functions'
|
||||
import {useTheme} from 'lib/ThemeContext'
|
||||
import {Text} from '../text/Text'
|
||||
import {Button, ButtonType} from './Button'
|
||||
import {useTheme} from 'lib/ThemeContext'
|
||||
import {choose} from 'lib/functions'
|
||||
|
||||
export function RadioButton({
|
||||
testID,
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import React, {useState} from 'react'
|
||||
import {View} from 'react-native'
|
||||
import {RadioButton} from './RadioButton'
|
||||
import {ButtonType} from './Button'
|
||||
|
||||
import {s} from 'lib/styles'
|
||||
import {ButtonType} from './Button'
|
||||
import {RadioButton} from './RadioButton'
|
||||
|
||||
export interface RadioGroupItem {
|
||||
label: string | JSX.Element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue