File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -189,16 +189,14 @@ View categories:
189189
190190``` typescript
191191export function MyView() {
192- const snapshot = useSnapshot (ControllerState )
193- const { padding } = useCustomDimensions ()
192+ const snapshot = useSnapshot (ControllerState );
193+ const { padding } = useCustomDimensions ();
194194
195195 return (
196196 < ScrollView style = {{ paddingHorizontal : padding }}>
197- < FlexView padding = {[' xs' , ' 0' , ' xs' , ' 0' ]}>
198- {/* Content */ }
199- </FlexView>
197+ < FlexView padding = {[' xs' , ' 0' , ' xs' , ' 0' ]}>{/* Content */ }</FlexView>
200198 </ScrollView>
201- )
199+ );
202200}
203201```
204202
@@ -218,14 +216,10 @@ export function MyView() {
218216** List Item ** :
219217
220218` ` ` typescript
221- <ListItem
222- icon="wallet"
223- imageSrc={imageUrl}
224- chevron
225- onPress={handlePress}
226- loading={isLoading}
227- >
228- <Text variant="paragraph-500" color="fg-100">{name}</Text>
219+ <ListItem icon="wallet" imageSrc={imageUrl} chevron onPress={handlePress} loading={isLoading}>
220+ <Text variant="paragraph-500" color="fg-100">
221+ {name}
222+ </Text>
229223</ListItem>
230224` ` `
231225
You can’t perform that action at this time.
0 commit comments