@boomitra/carbon-calculator 0.2.18 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,13 +14,13 @@ npm install @boomitra/carbon-calculator
14
14
 
15
15
  ### 2. Integration
16
16
 
17
- Import the component and its styles in your application.
17
+ Import the component in your application.
18
18
  **Note:** You must pass the `host` prop to specify the destination URL (e.g., your checkout page) where the user will be redirected when clicking the "Offset" button.
19
19
 
20
20
  ```jsx
21
21
  import React from "react";
22
22
  import CarbonCalculator from "@boomitra/carbon-calculator";
23
- import "@boomitra/carbon-calculator/style.css"; // Don't forget the styles!
23
+ // CSS is automatically injected 🌟
24
24
 
25
25
  function App() {
26
26
  const host = "https://your-website.com/checkout"; // URL for redirection