0.3.2 • Published 4 years ago

@alfheim/generator-nef-readme v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@alfheim/generator-nef-readme

This package is part of the battery used to create new components for the Nasdaq Experience Framework. This package creates an README.md file, which provides documentation for the component.

Note: It is recommended that you install and use generator-nef-component rather than installing this package directly, unless you need to modify the individual file generators.

A README file created for a component named Test using this generator looks as follows:

⚠️ ⚠️ ⚠️ BEGIN README HERE ⚠️ ⚠️ ⚠️

Test

Introduction

Test is an easy-to-use component.

Usage

import { Test } from "@nef/core";

Example use

See Story tab on the right.

Properties

propNamepropTypedefaultValueisRequiredDescription
classNamestring--is the class name of the component
childrenoneOfType( node, arrayOf( node ) )--is the children to be passed into component
styleobject--is the style object to be passed into component
namestring--id to be passed to the DOM
idstring--name to be passed to the DOM

⚠️ ⚠️ ⚠️ END README HERE ⚠️ ⚠️ ⚠️

Getting started

To install, simply run:

yarn add @alfheim/generator-nef-readme --dev

or

npm install @alfheim/generator-nef-readme --dev 

Contributing

We'd love to have your helping hand on alfheim! Go over to our issues section and see if there's anything we're looking for help with OR open up a PR if you have an idea for a way to improve the library.

License

Alfheim is open source software licensed as MIT.

0.3.2

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago