vcc-ui
Version:
A React library for building user interfaces at Volvo Cars
12 lines (9 loc) • 336 B
TypeScript
import React, { ComponentType } from 'react';
import { CurrentTheme } from '../types/shared';
type ThemeProviderProps = {
theme: Partial<CurrentTheme>;
children?: React.ReactNode;
};
/** @deprecated Use `data-color-mode` from `@volvo-cars/css` instead. */
export const ThemeProvider: ComponentType<ThemeProviderProps>;
export {};