UNPKG

react-input-pin-code

Version:

Pin input built with React component and styled-components

17 lines (13 loc) 410 B
import { RefObject } from 'react'; type SetCssVariable = (name: string, value: string) => void; type Props = { targetElRef: RefObject<HTMLElement | null>; }; type Result = { setCssVariable: SetCssVariable; }; type Hook = (props: Props) => Result; declare const useCssVariable: Hook; export { useCssVariable }; export type { Hook, Props, Result, SetCssVariable }; //# sourceMappingURL=index.d.ts.map