1 | import * as React from 'react';
|
2 | import type { ComponentsPropsList } from '../styles/props';
|
3 | declare function DefaultPropsProvider(props: React.PropsWithChildren<{
|
4 | value: {
|
5 | [P in keyof ComponentsPropsList]?: Partial<ComponentsPropsList[P]>;
|
6 | };
|
7 | }>): React.JSX.Element;
|
8 | declare namespace DefaultPropsProvider {
|
9 | var propTypes: any;
|
10 | }
|
11 | export default DefaultPropsProvider;
|
12 | export declare function useDefaultProps<Props extends Record<string, any>>(params: {
|
13 | props: Props;
|
14 | name: string;
|
15 | }): Props;
|