@teamsnap/teamsnap-ui
Version:
a CSS component library for TeamSnap
37 lines (36 loc) • 1.1 kB
TypeScript
/**
* @name Panel
*
* @description
* A panel component that used to display a panel or table data. See the teamsnap patterns
* library for more information https://teamsnap-ui-patterns.netlify.com/patterns/components/panel.html
*
* @example
* <Panel isStriped>
* Panel Child Data
* </Panel>
*
*/
import * as React from "react";
import * as PropTypes from "prop-types";
declare class Panel extends React.PureComponent<PropTypes.InferProps<typeof Panel.propTypes>, any> {
static propTypes: {
children: PropTypes.Validator<PropTypes.ReactNodeLike>;
isStriped: PropTypes.Requireable<boolean>;
maxSize: PropTypes.Requireable<string>;
className: PropTypes.Requireable<string>;
mods: PropTypes.Requireable<string>;
style: PropTypes.Requireable<object>;
otherProps: PropTypes.Requireable<object>;
};
static defaultProps: {
className: string;
isStriped: boolean;
maxSize: any;
mods: any;
style: {};
otherProps: {};
};
render(): JSX.Element;
}
export default Panel;