Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 3x 3x 5x 5x | /*** Libraries ***/
import React, { PureComponent } from 'react';
import { defaultProps } from './props/defaultProps';
import { propTypes } from './props/propTypes';
/*** FontIcons ***/
import IconButton from '../../../IconButton/IconButton';
export default class Close extends PureComponent {
render() {
let { onClose, dataId, title } = this.props;
return <IconButton dataId={dataId} onClick={onClose} iconName='ZD-cross' iconSize='11' title={title} />;
}
}
Close.propTypes = propTypes;
Close.defaultProps = defaultProps;
// if (__DOCS__) {
// Close.docs = {
// componentGroup: 'Lookup'
// };
// }
|