1.7.2 • Published 3 years ago

@idot-digital/custom-material-ui v1.7.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

custom-material-ui

Custom animated buttons using material-ui icons

NPM JavaScript Style Guide

Install

npm install --save custom-material-ui

Usage

import React from 'react'

import {
  AddButtonRotating,
  RemoveButtonBin,
  LogoutButton,
  CloseButton,
  EditButton,
  RefreshButton,
  FileSelectorButton,
  DoneButton,
  ChangePasswordButton,
  DownloadButton,
  UploadButton,
  VisibilityToggle,
  PublicToggle,
  ArrowToggle,
  EnabledToggle
} from '@idot-digital/custom-material-ui'
import '@idot-digital/custom-material-ui/dist/index.css'

const Example = () => {
  const [active, setActive] = React.useState(false)

  return (
    <React.Fragment>
      <AddButtonRotating onClick={() => console.log('click')}>
        Some content
      </AddButtonRotating>
      <VisibilityToggle
        onClick={(active) => setActive(() => active)}
        active={active}
        text='Visibility'
      />
    </React.Fragment>
  )
}

License

UNLICENSED © @idot-digital

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago