Commit 09afe058 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

fix #2150 remove no use style

parent 608d5998
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Col } from 'antd';
import styles from './index.less';
import responsive from './responsive';
const Description = ({ term, column, className, children, ...restProps }) => {
const clsString = classNames(styles.description, className);
return (
<Col className={clsString} {...responsive[column]} {...restProps}>
const Description = ({ term, column, children, ...restProps }) => (
<Col {...responsive[column]} {...restProps}>
{term && <div className={styles.term}>{term}</div>}
{children !== null &&
children !== undefined && <div className={styles.detail}>{children}</div>}
{children !== null && children !== undefined && <div className={styles.detail}>{children}</div>}
</Col>
);
};
);
Description.defaultProps = {
term: '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment