@stianlarsen/react-light-beam 1.0.0 → 1.0.2

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
@@ -19,7 +19,7 @@ yarn add @stianlarsen/react-light-beam
19
19
  ## Usage
20
20
 
21
21
  ```jsx
22
- import LightBeam from "@stianlarsen/react-light-beam";
22
+ import { LightBeam } from "@stianlarsen/react-light-beam";
23
23
  import "your-css-file.css"; // Include the necessary styles
24
24
 
25
25
  const App = () => {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import { LightBeamProps } from "../types/types";
3
3
  export declare const LightBeam: ({ className, colorLightmode, colorDarkmode, fullWidth, }: LightBeamProps) => React.JSX.Element;
4
- export default LightBeam;
package/dist/index.js CHANGED
@@ -75,4 +75,3 @@ const LightBeam = ({ className, colorLightmode = "rgba(0,0,0, 0.5)", colorDarkmo
75
75
  }, ref: elementRef, className: `Conic_conic__HBaxC ${className}` }));
76
76
  };
77
77
  exports.LightBeam = LightBeam;
78
- exports.default = exports.LightBeam;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stianlarsen/react-light-beam",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A customizable React component that creates a light beam effect using conic gradients. Supports dark mode and various customization options.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",