UNPKG

paperlabeled-material-ui

Version:

Paper with top label based on material-ui

23 lines (22 loc) 694 B
import React from 'react'; import { PaperProps } from '@material-ui/core'; declare type PaperLabeledProps = { children?: React.ReactNode; paperProps?: PaperProps; title?: string; labelComp?: React.ReactElement; labelClass?: string; labelClassContainer?: string; }; declare const PaperLabeled: { ({ paperProps, children, title, labelComp, labelClass, labelClassContainer, }: PaperLabeledProps): React.ReactElement; defaultProps: { labelClass: string; labelClassContainer: string; title: string; labelComp: undefined; paperProps: {}; children: undefined; }; }; export default PaperLabeled;