content: import React from 'react';
  import { shallow } from 'enzyme';
  import Button from '../index';
  
  describe('<Button />', () => {
      it('should render flat', () => {
          const label = 'Flat button';
          const button = shallow(<Button disabled darkTheme>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
      it('should render darkTheme', () => {
          const label = 'Flat button';
          const darkTheme = true;
          const button = shallow(<Button darkTheme={darkTheme}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
  
      it('should render with Icon', () => {
          const label = 'Colored button';
          const icon = 'favorite';
          const button = shallow(<Button icon={icon}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
  
      it('should render raised', () => {
          const label = 'Raised button';
          const raised = true;
          const button = shallow(<Button raised={raised}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
      it('should render stroked', () => {
          const label = 'Stroked button';
          const stroked = true;
          const button = shallow(<Button stroked={stroked}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
      it('should render unelevated', () => {
          const label = 'Raised button';
          const unelevated = true;
          const button = shallow(<Button unelevated={unelevated}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
      it('should render raised disabled', () => {
          const label = 'Raised disabled button';
          const raised = true;
          const disabled = true;
          const button = shallow(<Button raised={raised} disabled={disabled}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
  
      it('should render dense', () => {
          const label = 'Dense button';
          const dense = true;
          const button = shallow(<Button dense={dense}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
  
      it('should render compact', () => {
          const label = 'Compact button';
          const compact = true;
          const button = shallow(<Button compact={compact}>{label}</Button>);
          expect(button).toMatchSnapshot();
      });
  });
  