apphouse
Version:
Component library for React that uses observable state management and theme-able components.
16 lines (15 loc) • 393 B
TypeScript
/**
* Interface for Theme colors for Cross platform components
*/
export type CrossPlatformThemeProps = {
/**
* The background color of the component, when the theme is light
* @default 'transparent'
*/
lightColor?: string;
/**
* The background color of the component, when the theme is dark
* @default 'transparent'
*/
darkColor?: string;
};