@idot-digital/custom-material-ui
TypeScript icon, indicating that this package has built-in type declarations

1.7.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @idot-digital/custom-material-ui

Weekly Downloads

1

Version

1.7.2

License

UNLICENSED

Unpacked Size

116 kB

Total Files

8

Last publish

Collaborators

  • der-grosse
  • luiskugel
  • davidkopczynski