UNPKG

433 BTypeScriptView Raw
1import * as React from "react";
2import { ITheme } from "../theme";
3
4interface Config {
5 color: string;
6 bg: string;
7 borderColor: string;
8 placeholderColor: string;
9}
10
11type ConfigReturnType = { light: Config; dark: Config };
12
13export type CSSResetProps = {
14 config?: (
15 theme: ITheme,
16 defaultConfig?: ConfigReturnType,
17 ) => ConfigReturnType;
18};
19
20declare const CSSReset: React.FC<CSSResetProps>;
21export default CSSReset;