Skip to content

howto react

Emre Sen edited this page Feb 7, 2021 · 4 revisions

NPM JavaScript Style Guide License Stars

A reusable ReactJS Component Library for HowTo Archive

Install

Install with yarn

npm install --save @yazilim-vip/react-howto

Install with npm

npm install --save @yazilim-vip/react-howto

Usage

import  from 'react'

import { HowToContainer } from '@yazilim-vip/react-howto'

export const  Example = () => (
    <HowToContainer
        rootCategory={howToData}
        requestedPath={requestedPath}
        events={{
            itemSelectEventHandler: (type, link) => {
                // handle item select event 
            }
        }}
    />
)

Examples

Clone this wiki locally