We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9aa33 commit 7e9ac71Copy full SHA for 7e9ac71
src/components/divider/Divider.tsx
@@ -1,13 +1,13 @@
1
import { View, ViewProps } from "react-native";
2
import { Box, useTheme } from "@adaptui/react-native-tailwind";
3
4
-import { createComponent, RenderProp } from "../../utils";
+import { createComponent, RenderPropType } from "../../utils";
5
import { Button, ButtonProps } from "../button";
6
7
interface DividerProps extends ViewProps {
8
subHeaderText?: string;
9
orientation?: "horizontal" | "vertical";
10
- subHeader?: RenderProp<ButtonProps>;
+ subHeader?: RenderPropType<ButtonProps>;
11
inset: number;
12
height: number;
13
insetType: "left" | "right" | "top" | "bottom";
0 commit comments