1.2.4 • Published 1 year ago

react-sellapp v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Sellapp

Sell.app embed integration for React applications.

Discord React TypeScript

Installation

npm install react-sellapp

or

yarn add react-sellapp

Usage

import SellButton from "react-sellapp";

const App = () => {
  return <SellButton store={store_id} product={product_id} darkmode={false} />;
};

export default App;

Component props

ParameterTypeDescription
storestring \| nunberRequired. Your store ID
productstring \| numverThe ID of the product you want to show in the pop-up
variantstring \| numberThe ID of the variant you want to show in the pop-up
darkmodebooleanColor scheme for the pop-up
themestringHEX color code parameter which styles the CTA button(s)
labelstringLabel of the button

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.2.4

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago