@maqsad/icons 0.2.30-alpha → 0.2.31-alpha
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/dist/cjs/types.js +1 -1
- package/dist/esm/types.js +1 -1
- package/package.json +1 -1
package/dist/cjs/types.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.DEFAULT_COLORS = {
|
|
|
23
23
|
* Creates a system icon component
|
|
24
24
|
*/
|
|
25
25
|
function createSystemIcon(displayName, path, svgStyle = null) {
|
|
26
|
-
const Icon = (0, react_1.forwardRef)(({ size = 24, color, stroke, fill, strokeWidth =
|
|
26
|
+
const Icon = (0, react_1.forwardRef)(({ size = 24, color, stroke, fill, strokeWidth = 2, className, style, ...props }, ref) => {
|
|
27
27
|
// stroke prop takes precedence, then color, then default
|
|
28
28
|
const strokeColor = stroke ?? color ?? exports.DEFAULT_COLORS.systemStroke;
|
|
29
29
|
// fill prop takes precedence, then default
|
package/dist/esm/types.js
CHANGED
|
@@ -18,7 +18,7 @@ export const DEFAULT_COLORS = {
|
|
|
18
18
|
* Creates a system icon component
|
|
19
19
|
*/
|
|
20
20
|
export function createSystemIcon(displayName, path, svgStyle = null) {
|
|
21
|
-
const Icon = forwardRef(({ size = 24, color, stroke, fill, strokeWidth =
|
|
21
|
+
const Icon = forwardRef(({ size = 24, color, stroke, fill, strokeWidth = 2, className, style, ...props }, ref) => {
|
|
22
22
|
// stroke prop takes precedence, then color, then default
|
|
23
23
|
const strokeColor = stroke ?? color ?? DEFAULT_COLORS.systemStroke;
|
|
24
24
|
// fill prop takes precedence, then default
|