1.0.0-alpha.30 • Published 3 years ago

@talixo/how-it-works v1.0.0-alpha.30

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Talixo - How It Works

UI Component which represents "how it works" element, to show step by step what will happen.

How to install

Package is available as @talixo/how-it-works in NPM registry, so you can use it in your project using npm install @talixo/how-it-works --save or yarn add @talixo/how-it-works.

Requirements

Your package should additionally have some extra dependencies:

  • @talixo/shared: ^1.0.0-alpha.30
  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0

These packages are required by @talixo/how-it-works, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

Property nameTypeDefaultDescription
classNamestringn/aAdditional class name passed to wrapper.
stepsStep[][]An array of steps containing the explanation of how it works.

Property shapes

Step

Property nameTypeDefaultDescription
descriptionstringn/aDescription of a step.
imageElementn/aImage element which will be displayed above step.
titlestringn/aTitle of a step.

Changelog

  • 0.1.0 - initial version
1.0.0-alpha.36

3 years ago

1.0.0-alpha.35

3 years ago

1.0.0-alpha.31

3 years ago

1.0.0-alpha.30

3 years ago