cdbreact
Version:
Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps
43 lines (42 loc) • 1.17 kB
TypeScript
import React from "react";
import PropTypes from "prop-types";
interface Props {
bottom?: boolean;
className?: string;
lg?: string;
md?: string;
middle?: boolean;
size?: string;
sm?: string;
tag?: [Function, string];
top?: boolean;
xl?: string;
xs?: string;
children?: React.ReactNode;
}
declare const Col: {
(props: Props): React.JSX.Element;
propTypes: {
bottom: PropTypes.Requireable<boolean>;
className: PropTypes.Requireable<string>;
lg: PropTypes.Requireable<string>;
md: PropTypes.Requireable<string>;
middle: PropTypes.Requireable<boolean>;
size: PropTypes.Requireable<string>;
sm: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string | ((...args: any[]) => any)>;
top: PropTypes.Requireable<boolean>;
xl: PropTypes.Requireable<string>;
xs: PropTypes.Requireable<string>;
};
defaultProps: {
tag: string;
xs: any;
sm: any;
md: any;
lg: any;
xl: any;
};
};
export default Col;
export { Col as CDBCol };