All files / components/Icon/GripperHorizontalIcon GripperHorizontalIcon.jsx

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51          120x               120x                         5x   5x                                            
import React from 'react';
import Icon from '../Icon';
import { lucidClassNames } from '../../../util/style-helpers';
import { createClass } from '../../../util/component-types';
 
const cx = lucidClassNames.bind('&-GripperHorizontalIcon');
 
/**
 *
 * {"categories": ["visual design", "icons"], "extend": "Icon", "madeFrom": ["Icon"]}
 *
 * A horizontal gripper icon.
 */
const GripperHorizontalIcon = createClass({
	displayName: 'GripperHorizontalIcon',
 
	_isPrivate: true,
 
	propTypes: {
		...Icon.propTypes,
	},
 
	render() {
		const {
			className,
			...passThroughs,
		} = this.props;
 
		return (
			<Icon
				width={16}
				height={2}
				viewBox='0 0 16 2'
				{...passThroughs}
				className={cx('&', className)}
			>
				<path d='M0,0h1v2H0V0z' />
				<path d='M2,0h1v2H2V0z' />
				<path d='M4,0h1v2H4V0z' />
				<path d='M6,0h1v2H6V0z' />
				<path d='M8,0h1v2H8V0z' />
				<path d='M10,0h1v2H10V0z' />
				<path d='M12,0h1v2H12V0z' />
				<path d='M14,0h1v2H14V0z' />
			</Icon>
		);
	},
});
 
export default GripperHorizontalIcon;