@shaai/react

1.1.7 • Public • Published

@shaai/react

This is a React wrapper for Shaai. It returns a React component which can be placed wherever you want to show your blogs.

Install

npm i --save @shaai/react

Usage

import withShaai from '@shaai/react'
import ScrollInk from '@shaai/scroll-ink'

//Pass in the template
const Shaai = withShaai(ScrollInk)

class App extends React.Component {
    render() {
        return (
            <div className="App">
                <Shaai
                    config={config}
                />
            </div>
        );
    }
}

Readme

Keywords

Package Sidebar

Install

npm i @shaai/react

Weekly Downloads

1

Version

1.1.7

License

MIT

Unpacked Size

8.42 kB

Total Files

5

Last publish

Collaborators

  • kunalpanchal
  • mohitk05