UNPKG

native-variants

Version:

A library for handling variants in React Native components with theme support.

8 lines (7 loc) 253 B
import { PropsWithChildren } from "react"; export declare const createCTX: <T>() => { CTXProvider: ({ children, props, }: PropsWithChildren & { props: T; }) => import("react/jsx-runtime").JSX.Element; useCTX: () => T | undefined; };