UNPKG

@scrolia/react-native

Version:
13 lines 647 B
import { Plugin } from "../@types/options.js"; /** The name of the component. */ type GetComponentPropsName = "container" | "contentX" | "contentY" | "listX" | "listY" | "trackX" | "trackY" | "thumbX" | "thumbY"; /** The options for `getComponentProps` function. */ type GetComponentPropsOptions<P> = { name: GetComponentPropsName; props: P; plugins: Plugin[]; }; /** The function to get component props with plugins. */ declare const getComponentProps: <P extends object>(options: GetComponentPropsOptions<P>) => P; export { type GetComponentPropsName, type GetComponentPropsOptions, getComponentProps }; //# sourceMappingURL=props.d.ts.map