[🐴] 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:
Samuel Newman 2024-05-14 18:57:16 +01:00 committed by GitHub
parent 9861494e34
commit 5af61ca4e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 216 additions and 28 deletions

View file

@ -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,

View file

@ -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