@teamsnap/teamsnap-ui
Version:
a CSS component library for TeamSnap
34 lines (33 loc) • 987 B
TypeScript
/**
* @name Cell
*
* @description
* A Cell component is a child of the <Grid> component. For more information on Grid usage see the teamsnap patterns
* library. https://teamsnap-ui-patterns.netlify.com/patterns/components/grid.html
*
* @example
* <Cell mods='u-size1of2'>
* Grid Cell Child Data
* </Cell>
*
*/
import * as React from "react";
import * as PropTypes from "prop-types";
declare class Cell extends React.PureComponent<PropTypes.InferProps<typeof Cell.propTypes>, any> {
static propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
className: PropTypes.Requireable<string>;
mods: PropTypes.Requireable<string>;
style: PropTypes.Requireable<object>;
otherProps: PropTypes.Requireable<object>;
};
static defaultProps: {
children: any;
className: string;
mods: any;
style: {};
otherProps: {};
};
render(): JSX.Element;
}
export default Cell;