@matthew.ngo/react-form-kit
Version:
Form Kit for React. It consists of a set of components that can be used to create complex forms in a simple and declarative way.
21 lines (20 loc) • 525 B
TypeScript
import React, { FC } from 'react';
/**
* The theme context.
*/
export declare const AppThemeContext: React.Context<import("styled-components").DefaultTheme>;
/**
* Custom hook to access the theme context.
*
* @returns The theme object.
*/
export declare const useTheme: () => import("styled-components").DefaultTheme;
/**
* Theme provider component.
*/
interface ThemeProviderProps {
children: React.ReactNode;
theme?: any;
}
declare const ThemeProvider: FC<ThemeProviderProps>;
export default ThemeProvider;