Skip to content

Instantly share code, notes, and snippets.

/* @flow */
import path from 'path';
import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import { isProd, WDS_PORT, WEB_PORT } from './src/shared/config';
const extractSass = new ExtractTextPlugin({
filename: '[name].[contenthash].css',
/* @flow */
import React, { Component } from 'react';
import Ruler from '../Ruler/Ruler.jsx';
type Props = {
type?: string;
label?: string;
floatingLabel?: bool;
error?: bool;
import React, { Component } from 'react';
import Ripple from '../../animations/ripple/Ripple';
import { rippleSize } from '../../animations/ripple/shapeRipple';
export default class Button extends Component {
constructor() {
super();
this.state = {
hovered: false,
rippleSize: 0,