rm flags from web bundle
This commit is contained in:
@@ -10,7 +10,6 @@ import * as TextField from '#/components/forms/TextField'
|
|||||||
import * as Toggle from '#/components/forms/Toggle'
|
import * as Toggle from '#/components/forms/Toggle'
|
||||||
import * as ToggleButton from '#/components/forms/ToggleButton'
|
import * as ToggleButton from '#/components/forms/ToggleButton'
|
||||||
import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe'
|
import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe'
|
||||||
import {InternationalPhoneCodeSelect} from '#/components/InternationalPhoneCodeSelect'
|
|
||||||
import * as Select from '#/components/Select'
|
import * as Select from '#/components/Select'
|
||||||
import {H1, H3} from '#/components/Typography'
|
import {H1, H3} from '#/components/Typography'
|
||||||
|
|
||||||
@@ -25,8 +24,6 @@ export function Forms() {
|
|||||||
|
|
||||||
const [value, setValue] = React.useState('')
|
const [value, setValue] = React.useState('')
|
||||||
const [date, setDate] = React.useState('2001-01-01')
|
const [date, setDate] = React.useState('2001-01-01')
|
||||||
const [countryCode, setCountryCode] = React.useState('US')
|
|
||||||
const [phoneNumber, setPhoneNumber] = React.useState('')
|
|
||||||
const [lang, setLang] = React.useState('en')
|
const [lang, setLang] = React.useState('en')
|
||||||
|
|
||||||
const inputRef = React.useRef<TextInput>(null)
|
const inputRef = React.useRef<TextInput>(null)
|
||||||
@@ -55,24 +52,6 @@ export function Forms() {
|
|||||||
/>
|
/>
|
||||||
</Select.Root>
|
</Select.Root>
|
||||||
|
|
||||||
<View style={[a.flex_row, a.gap_sm, a.align_center]}>
|
|
||||||
<View>
|
|
||||||
<InternationalPhoneCodeSelect
|
|
||||||
// @ts-ignore
|
|
||||||
value={countryCode}
|
|
||||||
onChange={value => setCountryCode(value)}
|
|
||||||
/>
|
|
||||||
</View>
|
|
||||||
|
|
||||||
<View style={[a.flex_1]}>
|
|
||||||
<TextField.Input
|
|
||||||
label="Phone number"
|
|
||||||
value={phoneNumber}
|
|
||||||
onChangeText={setPhoneNumber}
|
|
||||||
/>
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
|
|
||||||
<View style={[a.gap_md, a.align_start, a.w_full]}>
|
<View style={[a.gap_md, a.align_start, a.w_full]}>
|
||||||
<H3>InputText</H3>
|
<H3>InputText</H3>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user