sate-lib 1.89.0 → 1.90.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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ElementType } from "react";
|
|
2
|
-
type MapMarkerOwnProps = {
|
|
3
|
-
as?:
|
|
2
|
+
type MapMarkerOwnProps<T extends ElementType> = {
|
|
3
|
+
as?: T;
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
export type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps
|
|
8
|
+
export type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps<T>>;
|
|
9
9
|
export declare function MapMarker<T extends ElementType = "img">({ as, src, alt, className, ...rest }: MapMarkerProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=map-marker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IACvD,iBAAiB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACxD,EAAE,EACF,GAAG,EACH,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACP,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoBnB"}
|