From 9c74d0f99baed353fccf86a00e6d8bf6c80fe911 Mon Sep 17 00:00:00 2001 From: lodev09 Date: Mon, 17 Jun 2024 22:51:10 +0800 Subject: [PATCH] chore: example --- example/src/sheets/FlatListSheet.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/example/src/sheets/FlatListSheet.tsx b/example/src/sheets/FlatListSheet.tsx index bd548f4..b55b615 100644 --- a/example/src/sheets/FlatListSheet.tsx +++ b/example/src/sheets/FlatListSheet.tsx @@ -2,8 +2,8 @@ import React, { forwardRef, useRef, type Ref } from 'react' import { FlatList, View, type ViewStyle } from 'react-native' import { TrueSheet, type TrueSheetProps } from '@lodev09/react-native-true-sheet' -import { DARK, INPUT_HEIGHT, SPACING, times } from '../utils' -import { DemoContent, Footer, Input } from '../components' +import { DARK, DARK_GRAY, INPUT_HEIGHT, SPACING, times } from '../utils' +import { DemoContent, Input } from '../components' interface FlatListSheetProps extends TrueSheetProps {} @@ -17,11 +17,9 @@ export const FlatListSheet = forwardRef((props: FlatListSheetProps, ref: Ref console.log('Sheet FlatList dismissed!')} onPresent={() => console.log(`Sheet FlatList presented!`)} - FooterComponent={