Skip to content

Commit 0825e3b

Browse files
committed
fix: example code
1 parent 262ce2b commit 0825e3b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

example/src/App.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable react-hooks/exhaustive-deps */
2-
/* eslint-disable prettier/prettier */
32
/* eslint-disable react-native/no-inline-styles */
43
import React, { useState, useEffect, useRef } from 'react';
54

@@ -100,16 +99,20 @@ export default function App() {
10099
errorText={gender.error}
101100
multiEnable={false}
102101
dialogTitleStyle={{ color: 'black' }}
103-
checkboxColor="blue"
104-
checkboxLabelStyle={{ color: 'black', fontWeight: '700' }}
105102
textInputStyle={{ fontWeight: '700' }}
106103
hideSearchBox={true}
107-
outlineColor="black"
108104
theme={{
109105
colors: {
110106
placeholder: 'black',
111107
},
112108
}}
109+
textInputProps={{
110+
outlineColor: 'black',
111+
}}
112+
checkboxProps={{
113+
checkboxColor: 'blue',
114+
checkboxLabelStyle: { color: 'black', fontWeight: '700' },
115+
}}
113116
/>
114117
<PaperSelect
115118
label="Select Colors"

0 commit comments

Comments
 (0)