apphouse
Version:
Component library for React that uses observable state management and theme-able components.
15 lines (14 loc) • 438 B
TypeScript
import { CSSProperties } from 'glamor';
import { ThemeColors } from '../styles/defaults/themes.interface';
import React from 'react';
export interface TagStyles {
container?: CSSProperties;
}
export interface TagProps {
backgroundColor?: keyof ThemeColors;
foregroundColor?: keyof ThemeColors;
children: React.ReactNode;
label?: string;
styleOverwrites?: TagStyles;
}
export declare const Tag: React.FC<TagProps>;