@vidispine/vdt-materialui

24.1.0 • Public • Published

@vidispine/vdt-materialui

See Storybook for examples.

Development

Creating New Components

New components can be created from templates either by using the interactive prompt yarn new:component or specifying the name and optional subdirectory yarn new:component --name SidecarUpload --dir item.

This will create a folder containing a handful of new files and will export the component.

  • {ComponentName}.js

    • The main component code plus PropTypes and MaterialUI styles.
  • {ComponentName}.stories.js

    • A Storybook example.
  • {ComponentName}.test.js

    • A basic test to check the component is mounted.
  • index.js

    • The main export with the MaterialUI withStyles higher-order component.

/@vidispine/vdt-materialui/

    Package Sidebar

    Install

    npm i @vidispine/vdt-materialui

    Weekly Downloads

    89

    Version

    24.1.0

    License

    SEE LICENSE IN LICENSE.md

    Unpacked Size

    1.29 MB

    Total Files

    743

    Last publish

    Collaborators

    • alexreinecke
    • vidispine-owner