Skip to content

caminkunick/data-grid-editor

Repository files navigation

@caminkunick/data-grid-editor

made from Material-ui DataGrid create-react-library and FontAwesomeIcon

NPM JavaScript Style Guide


screenshot


Install

npm install --save @caminkunick/data-grid-editor

Usage

// TYPESCRIPT

import * as React from 'react'
import {
  DataGridEditor,
  DataGridEditorData,
  DataGridEditorDefaultData
} from '@caminkunick/data-grid-editor'
import '@caminkunick/data-grid-editor/dist/index.css'

export const Example = () => {
  const [data, setData] = React.useState<DataGridEditorData>({
    ...DataGridEditorDefaultData
  })

  return (
    <DataGridEditor
      value={data}
      onChange={(data) => setData(data)}
    />
  )
}

License

MIT © caminkunick

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published