import React from 'react' ; import classnames from 'classnames' ; import styles from './styles.scss' ; type LineProps = { dataSign ? : string ; className ? : string ; onClick ? : ( ... args : any [ ] ) => any ; horizontal ? : boolean ; noBorder ? : boolean ; } ; const Line = ( { dataSign , className , onClick , horizontal , noBorder , children , } ) => { return ( < div data - sign = { dataSign } className = { classnames ( styles . root , className , onClick && styles . clickable , horizontal && styles . horizontal , noBorder && styles . noborder ) } onClick = { onClick } > { children } < /div>); } ; export default Line ;