| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import {
- useRef
- } from "react";
- import {
- View
- } from "react-native";
- import stylesheet from "./stylesheet";
- import {
- type IBottomSheetRef,
- PageContainer,
- BottomSheet,
- Button,
- Text
- } from "ncore-ui-kit-mobile";
- const TestSubPage = () => {
- const bottomSheetRef = useRef<IBottomSheetRef>(null);
- return <PageContainer
- style={[
- stylesheet.container
- ]}
- >
- <Text>This is test sub page.</Text>
- <Button
- onPress={() => {
- bottomSheetRef.current?.open();
- }}
- type="success"
- title="Ahmet"
- variant="filled"
- />
- <BottomSheet
- isCanFullScreenOnSwipe={true}
- isWorkWithPortal={false}
- ref={bottomSheetRef}
- snapPoint={300}
- >
- <Button
- onPress={() => {
- }}
- title="Git."
- />
- <View
- style={{
- backgroundColor: "red",
- height: 2400
- }}
- />
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- <Text>Deneme 123</Text>
- </BottomSheet>
- </PageContainer>;
- };
- export default TestSubPage;
|