UNPKG

@teamsnap/teamsnap-ui

Version:

a CSS component library for TeamSnap

34 lines (33 loc) 1.06 kB
/** * @name PanelBody * * @description * A panel body component is used with the Panel to wrap the body content. See the teamsnap patterns * library for more information https://teamsnap-ui-patterns.netlify.com/patterns/components/panel.html * * @example * <PanelBody> * PanelBody Child Data * </PanelBody> * */ import * as React from "react"; import * as PropTypes from "prop-types"; declare class PanelBody extends React.PureComponent<PropTypes.InferProps<typeof PanelBody.propTypes>, any> { static propTypes: { children: PropTypes.Validator<PropTypes.ReactNodeLike>; className: PropTypes.Requireable<string>; mods: PropTypes.Requireable<string>; role: PropTypes.Requireable<string>; style: PropTypes.Requireable<PropTypes.InferProps<{}>>; otherProps: PropTypes.Requireable<PropTypes.InferProps<{}>>; }; static defaultProps: { className: string; mods: any; style: {}; otherProps: {}; }; render(): JSX.Element; } export default PanelBody;