import React from 'react';
import { Link } from 'react-router';
import { Select, Menu, Row, Col } from '../../../';
const Option = Select.Option;
import './index.less';
import componentsList from '../../../_site/data/react-components';
export default class Header extends React.Component {
handleSearch(value) {
this.props.history.push({ pathname: value });
}
render() {
const routes = this.props.routes;
const activeMenuItem = routes[1].path || 'home';
const options = [];
Object.keys(componentsList).map((key) => {
return componentsList[key];
}).forEach(({ meta }) => {
const url = `/components/${meta.english.toLowerCase()}`;
options.push(
);
});
return (
);
}
}