Sell.app embed integration for React applications.
npm install react-sellapp
or
yarn add react-sellapp
import SellButton from "react-sellapp";
const App = () => {
return <SellButton store={store_id} product={product_id} darkmode={false} />;
};
export default App;
Parameter | Type | Description |
---|---|---|
store |
string | nunber |
Required. Your store ID |
product |
string | numver |
The ID of the product you want to show in the pop-up |
variant |
string | number |
The ID of the variant you want to show in the pop-up |
darkmode |
boolean |
Color scheme for the pop-up |
theme |
string |
HEX color code parameter which styles the CTA button(s) |
label |
string |
Label of the button |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.