@lucide/astro 1.31.0 → 1.32.0

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.
@@ -7,7 +7,7 @@ import { toKebabCase } from './utils/toKebabCase';
7
7
 
8
8
  export default (iconName: string, iconNode: IconNode): AstroComponentFactory => {
9
9
  const Component = createComponent(
10
- ($$result, $$props: Record<string, any>, $$slots) => {
10
+ ($$result, $$props: Record<string, unknown>, $$slots) => {
11
11
  const { class: className, ...restProps } = $$props;
12
12
  return render`${renderComponent(
13
13
  $$result,
@@ -0,0 +1,18 @@
1
+
2
+ import createLucideIcon from '../createLucideIcon';
3
+ import type { AstroComponent } from '../types'
4
+
5
+ /**
6
+ * @component @name CarBattery
7
+ * @description Lucide SVG icon component, renders SVG Element with children.
8
+ *
9
+ * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQgMTNoNCIgLz4KICA8cGF0aCBkPSJNMTYgMTV2LTQiIC8+CiAgPHBhdGggZD0iTTE4IDV2MiIgLz4KICA8cGF0aCBkPSJNNiAxM2g0IiAvPgogIDxwYXRoIGQ9Ik02IDV2MiIgLz4KICA8cmVjdCB4PSIyIiB5PSI3IiB3aWR0aD0iMjAiIGhlaWdodD0iMTIiIHJ4PSIyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/car-battery
10
+ * @see https://lucide.dev/guide/packages/lucide-astro - Documentation
11
+ *
12
+ * @param {import('../types').IconProps} props - Lucide icons props and any valid SVG attribute
13
+ * @returns {any} Astro Component
14
+ *
15
+ */
16
+ const CarBattery = createLucideIcon('car-battery', [["path",{"d":"M14 13h4"}],["path",{"d":"M16 15v-4"}],["path",{"d":"M18 5v2"}],["path",{"d":"M6 13h4"}],["path",{"d":"M6 5v2"}],["rect",{"x":"2","y":"7","width":"20","height":"12","rx":"2"}]]) as AstroComponent;
17
+
18
+ export default CarBattery;