Needlessly Provoking Marsupials

    @teleporthq/teleport-component-generator-react
    TypeScript icon, indicating that this package has built-in type declarations

    0.23.2 • Public • Published

    teleport-component-generator-react

    Component generator customization, capable of creating React components with a number of different style flavors.

    This package is part of the teleport ecosystem. For a complete guide, check out the official documentation.

    Install

    npm install @teleporthq/teleport-component-generator-react

    or

    yarn add @teleporthq/teleport-component-generator-react

    Usage

    import { createReactComponentGenerator, ReactStyleVariation } from '@teleporthq/teleport-component-generator-react'
    
    // other style options: "CSS", "InlineStyles", "StyledComponents", "StyledJSX", "ReactJSS"
    const reactGenerator = createReactComponentGenerator(ReactStyleVariation.CSSModules)
    
    const result = await reactGenerator.generateComponent(uidl)

    Keywords

    none

    Install

    npm i @teleporthq/teleport-component-generator-react

    DownloadsWeekly Downloads

    52

    Version

    0.23.2

    License

    MIT

    Unpacked Size

    123 kB

    Total Files

    40

    Last publish

    Collaborators

    • utwo
    • aelythe
    • teleporthq.io