{"size": 1238, "ext": "js", "max_stars_repo_path": "src/components/inlineSearch/selectPicker/SelectPicker.js", "max_stars_repo_name": "dpellier/isomorphicPoc", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/inlineSearch/selectPicker/SelectPicker.js", "max_issues_repo_name": "dpellier/isomorphicPoc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/inlineSearch/selectPicker/SelectPicker.js", "max_forks_repo_name": "dpellier/isomorphicPoc", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.3404255319, "max_line_length": 86, "alphanum_fraction": 0.647819063}
import React from 'react';
import InlineCss from "react-inline-css";
const stylesheet = require("!raw!sass!./SelectPicker.scss");

class SelectPicker extends React.Component {
	constructor(props) {
		super(props);
		this.props = props;
	}

	render() {
		return (
			<InlineCss componentName="SelectPicker" stylesheet={stylesheet}>
				<div className="components-form-search-filter-selectpicker">
					<label for="filter_TYPOLOGIE"
						   className="sr-only components-form-search-filter-selectpicker__label">
						Typologie magasin
					</label>

					<select id="filter_TYPOLOGIE"
							name="st_any[TYPOLOGIE][]"
							className="form-control components-form-search-filter-selectpicker__select"
							data-width="100%"
							data-size="10"
							multiple
							title="Typologie magasin"
							data-lf-selectpicker>

						{this.props.filters.map((filter) =>
							<option className="components-form-search-filter-selectpicker__select__option"
									value={filter.value}>
								{filter.label}
							</option>
						)}
					</select>
				</div>
			</InlineCss>
		);
	}
}

SelectPicker.propTypes = {
	filters: React.PropTypes.array.isRequired
};

export default SelectPicker;
