1 | import React, { ReactNode } from 'react';
|
2 | import { ThemeProp } from '../utils/createTheme';
|
3 | export declare type ResetThemeProps = {
|
4 | children?: ReactNode;
|
5 | } | undefined;
|
6 | export interface ResetThemeTokens {
|
7 | backgroundColor: string;
|
8 | textColor: string;
|
9 | linkColor?: string;
|
10 | linkColorHover?: string;
|
11 | linkColorActive?: string;
|
12 | linkColorOutline?: string;
|
13 | headingColor?: string;
|
14 | subtleHeadingColor?: string;
|
15 | subtleTextColor?: string;
|
16 | }
|
17 | export declare const ResetTheme: {
|
18 | Consumer: React.ComponentType<{
|
19 | children?: React.ReactNode;
|
20 | } & {
|
21 | children: (tokens: ResetThemeTokens) => React.ReactNode;
|
22 | }>;
|
23 | Provider: React.ComponentType<{
|
24 | children?: React.ReactNode;
|
25 | value?: ThemeProp<ResetThemeTokens, ResetThemeProps> | undefined;
|
26 | }>;
|
27 | };
|
28 | interface ResetProps extends React.HTMLAttributes<HTMLDivElement> {
|
29 | children?: ReactNode;
|
30 | theme?: ThemeProp<ResetThemeTokens, ResetThemeProps>;
|
31 | }
|
32 | export declare function Reset(props: ResetProps): JSX.Element;
|
33 | export {};
|