mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
Select was unused
This commit is contained in:
parent
5ed2ee1a48
commit
a7b19d16ef
3 changed files with 0 additions and 54 deletions
|
|
@ -1,22 +0,0 @@
|
|||
.root {
|
||||
display: block;
|
||||
|
||||
/* Unset user agent styles */
|
||||
appearance: none;
|
||||
border-radius: 0;
|
||||
|
||||
/* Font */
|
||||
font-size: 16px;
|
||||
letter-spacing: -0.4px;
|
||||
|
||||
/* Dimensions */
|
||||
padding-left: 18px;
|
||||
padding-right: 18px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
|
||||
/* Background */
|
||||
background-image: url('data:image/svg+xml;utf8,<svg width="16" height="10" viewBox="0 0 16 10" xmlns="http://www.w3.org/2000/svg"><path d="M15.027 2.5a.577.577 0 0 0 0-.813L13.545.214a.566.566 0 0 0-.804 0L8 4.955 3.259.215a.566.566 0 0 0-.804 0L.973 1.686a.577.577 0 0 0 0 .813l6.625 6.616c.223.223.58.223.804 0L15.027 2.5z" fill="#4A4A4A" fill-rule="evenodd"/></svg>');
|
||||
background-size: 16px 16px;
|
||||
background-position: center right 10px;
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
import React, { PropTypes } from 'react';
|
||||
import classNames from 'classnames';
|
||||
|
||||
import css from './Select.css';
|
||||
|
||||
const Select = props => {
|
||||
const { className, children, ...rest } = props;
|
||||
|
||||
const classes = classNames(css.root, className);
|
||||
|
||||
return (
|
||||
<select className={classes} {...rest}>
|
||||
{children}
|
||||
</select>
|
||||
);
|
||||
};
|
||||
|
||||
Select.defaultProps = {
|
||||
className: null,
|
||||
children: null,
|
||||
};
|
||||
|
||||
const { string, node } = PropTypes;
|
||||
|
||||
Select.propTypes = {
|
||||
className: string,
|
||||
children: node,
|
||||
};
|
||||
|
||||
export default Select;
|
||||
|
|
@ -41,7 +41,6 @@ import RoutesProvider from './RoutesProvider/RoutesProvider';
|
|||
import SaleDetailsPanel from './SaleDetailsPanel/SaleDetailsPanel';
|
||||
import SearchIcon from './SearchIcon/SearchIcon';
|
||||
import SearchResultsPanel from './SearchResultsPanel/SearchResultsPanel';
|
||||
import Select from './Select/Select';
|
||||
import SelectField from './SelectField/SelectField';
|
||||
import StripeBankAccountTokenInputField
|
||||
from './StripeBankAccountTokenInputField/StripeBankAccountTokenInputField';
|
||||
|
|
@ -100,7 +99,6 @@ export {
|
|||
SearchIcon,
|
||||
SearchResultsPanel,
|
||||
SecondaryButton,
|
||||
Select,
|
||||
SelectField,
|
||||
StripeBankAccountTokenInputField,
|
||||
TabNav,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue