All files / components/Icon/GripperVerticalIcon GripperVerticalIcon.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 52 53            120x               120x                         6x   6x                                              
import _ from 'lodash';
import React from 'react';
import Icon from '../Icon';
import { lucidClassNames } from '../../../util/style-helpers';
import { createClass, omitProps } from '../../../util/component-types';
 
const cx = lucidClassNames.bind('&-GripperVerticalIcon');
 
/**
 *
 * {"categories": ["visual design", "icons"], "extend": "Icon", "madeFrom": ["Icon"]}
 *
 * A vertical gripper icon.
 */
const GripperVerticalIcon = createClass({
	displayName: 'GripperVerticalIcon',
 
	_isPrivate: true,
 
	propTypes: {
		...Icon.propTypes,
	},
 
	render() {
		const {
			className,
			...passThroughs,
		} = this.props;
 
		return (
			<Icon
				width={2}
				height={16}
				viewBox='0 0 2 16'
				{...omitProps(passThroughs, GripperVerticalIcon)}
				{..._.pick(passThroughs, _.keys(Icon.propTypes))}
				className={cx('&', className)}
			>
				<path d='M0,0h2v1H0V0z' />
				<path d='M0,2h2v1H0V2z' />
				<path d='M0,4h2v1H0V4z' />
				<path d='M0,6h2v1H0V6z' />
				<path d='M0,8h2v1H0V8z' />
				<path d='M0,10h2v1H0V10z' />
				<path d='M0,12h2v1H0V12z' />
				<path d='M0,14h2v1H0V14z' />
			</Icon>
		);
	},
});
 
export default GripperVerticalIcon;