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