10000 GitHub - riya09/react-widget: Tutorial on how to build a react widget
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

riya09/react-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a React widget

Tutorial : https://fariabriya.codes/blog/building-cross-framework-widget-with-react/

In the project directory, you can run:

npm run build:widget

This command will build the widget.js file and create a brand-widget folder.

The widget then can be used like this

feedbackWidget.init({
    title: 'Rate your experience',
    theme: '#effe',
    buttonText: 'Okay',
    handleSubmit: (val) => this.someMethod(val)
  })

About

Tutorial on how to build a react widget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0