sate-lib 1.4.1 → 1.4.3
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";let c=c=>e("svg",{"aria-hidden":"true",className:"Placeholder_svg__MuiSvgIcon-root Placeholder_svg__MuiSvgIcon-fontSizeMedium Placeholder_svg__css-1phnduy",viewBox:"0 0 24 24",...c,children:e("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"})});export{c as default};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from "react";
|
|
2
|
-
export
|
|
2
|
+
export declare const Icons: {
|
|
3
|
+
readonly Bed: string;
|
|
4
|
+
readonly Building: string;
|
|
5
|
+
readonly Placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
export type IconName = keyof typeof Icons;
|
|
8
|
+
export declare const iconNames: IconName[];
|
|
3
9
|
export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
4
10
|
/**
|
|
5
11
|
* The name of the icon to display
|
|
@@ -10,4 +16,4 @@ export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
|
10
16
|
*/
|
|
11
17
|
size?: number;
|
|
12
18
|
}
|
|
13
|
-
export declare
|
|
19
|
+
export declare function Icon({ name, size, color, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import o from"../../assets/icons/Bed.js";import s from"../../assets/icons/Building.js";import r from"../../assets/icons/Placeholder.js";let t={Bed:o,Building:s,Placeholder:r},i=Object.keys(t);function n({name:o,size:s=24,color:r,...i}){let n=t[o];return n?e(n,{width:s,height:s,fill:"currentColor",...i}):null}export{n as Icon,t as Icons,i as iconNames};
|