UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

20 lines (19 loc) 660 B
import { CSSProperties } from 'glamor'; import React from 'react'; import { ThemeColors } from '../styles/defaults/themes.interface'; import { ApphouseComponent } from './component.interfaces'; export type SurfaceVariants = Partial<ThemeColors>; export interface PaperProps extends ApphouseComponent<CSSProperties> { children: React.ReactNode; /** * If provided, it will set the width of the paper. * @default -webkit-fill-available */ width?: number; variant?: 'surface' | 'surface10' | 'surface20' | 'surface30' | 'surface40'; } /** * Paper component * @param PaperProps */ export declare const Paper: React.FC<PaperProps>;