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 '../../../_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];
}).map(({ meta }) => {
const url = `/components/${meta.english.toLowerCase()}`;
return (
);
});
return (
);
}
}