Skip to content

Instantly share code, notes, and snippets.

View vnctaing's full-sized avatar

Vincent Taing vnctaing

View GitHub Profile
@vnctaing
vnctaing / store.js
Last active May 22, 2016 21:22
Example of how to keep redux and react-router in sync
import { browserHistory } from 'react-router';
import DevTools from '../components/global/Devtools.jsx';
import { routerMiddleware, routerReducer } from 'react-router-redux';
const reactRouterMiddleware = routerMiddleware(browserHistory);
const enhancer = compose(
applyMiddleware(
thunkMiddleware,
loggerMiddleware,
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<title>fab</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="shortcut icon" href="/favicon.ico">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css(.) styles/vendor.css -->
/* select-style une div qui entoure le select */
.select-style{
border: 1px solid #ccc;
width: 120px;
overflow: hidden;
background: #fff url("https://github.com/google/material-design-icons/blob/master/hardware/1x_web/ic_keyboard_arrow_down_black_18dp.png?raw=true") no-repeat 90% 50%;
}