UNPKG

@indoqa/style-system

Version:

A style system for React with Typescript typed theme support and several base components.

18 lines (17 loc) 714 B
import * as React from 'react'; import { BaseTheme } from '../../theming/baseTheme'; import { FlexContainerProps, FontProps, PaddingProps, ResponsiveProps, StylingProps, WithStyle } from '../types'; interface Props<T extends BaseTheme> extends WithStyle<T>, ResponsiveProps<PaddingProps>, ResponsiveProps<StylingProps<T>>, ResponsiveProps<FontProps<T>>, ResponsiveProps<FlexContainerProps> { size?: number; width?: string | number; testId?: string; innerRef?: React.RefObject<HTMLDivElement>; } export declare class Panel<T extends BaseTheme> extends React.Component<Props<T>> { static defaultProps: { size: number; width: string; }; render(): JSX.Element; } export {};