Hayde
ExamplesDocumentationGithub
  • Hayde
  • ♥️Features
    • AI module
    • Builder.IO module
    • Chakra UI module
    • Create Plugin module
    • CSS module
    • emmet
    • General module
    • Material UI module
    • React.js module
    • Storybook module
  • 📔Documentation
    • CLI Arguments
    • Options
    • Profiles
    • NPM script trigger
    • How to Create Custom Plugin
    • Contributor Covenant Code of Conduct
  • 🚀Examples
  • Source Code
Powered by GitBook
On this page
  • Usage
  • Options

Was this helpful?

  1. Features

React.js module

Usage

Please create a new json file called .hayde.json in your project root. This file will be used to configure the Hayde.

And then add reactJS to the plugins array.

{
  "plugins": [
    "general",
    "css",
    "reactJS",
    "materialUI",
    "chakraUI"
  ]
}

Options

Option
Description
Default
Type

createProps

-

true

boolean

createInterface

-

true

boolean

styleLibrary

-

-

chakraUI

propList

-

[]

string[]

interfaceTemplateName

-

interface

string

interfaceFileSuffix

-

.interface

string

componentTemplateName

-

component

string

componentContentTemplateName

-

componentContent

string

importsTemplateName

-

imports

string

exportsTemplateName

-

exports

string

propsTemplateName

-

props

string

templateFolder

-

reactJS

string

Last updated 1 year ago

Was this helpful?

♥️