UNPKG

ponchojs

Version:

Poncho

17 lines (16 loc) 542 B
import React from 'react'; export declare type ConfigProps = Partial<{ title: string; subtitle: string; size: 'medium' | 'large' | 'full'; noBtns: boolean; submitText: string; resetText: string; btns: ('submit' | 'reset')[]; disableBtns: boolean; extraBtns: JSX.Element[]; }>; export declare const useConfCtx: () => ConfigProps; declare type ProviderProps = React.PropsWithChildren<ConfigProps>; export declare const ConfigurationProvider: (props: ProviderProps) => JSX.Element; export {};