@linagora/twake-icons 2.6.4 → 2.6.6
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/CHANGELOG.md +14 -0
- package/dist/index.cjs +1186 -6
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1186 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { SVGAttributes, ComponentType, ReactElement, SVGProps } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
4
5
|
icon: string | ComponentType<SVGAttributes<SVGSVGElement>> | ReactElement;
|
|
@@ -12,7 +13,7 @@ interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
|
12
13
|
}
|
|
13
14
|
declare function Icon(props: IconProps): ReactElement | null;
|
|
14
15
|
|
|
15
|
-
declare function Sprite():
|
|
16
|
+
declare function Sprite(): React__default.ReactElement | null;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Returns the appropriate icon component for a given attachment
|
|
@@ -245,7 +246,9 @@ declare function SvgCrossSmall(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
|
245
246
|
|
|
246
247
|
declare function SvgCrossWhite(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
247
248
|
|
|
248
|
-
declare function SvgCube(props: SVGProps<SVGSVGElement>
|
|
249
|
+
declare function SvgCube({ iconRef, ...props }: SVGProps<SVGSVGElement> & {
|
|
250
|
+
iconRef?: React.Ref<SVGSVGElement>;
|
|
251
|
+
}): JSX.Element;
|
|
249
252
|
|
|
250
253
|
declare function SvgDash(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
251
254
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { SVGAttributes, ComponentType, ReactElement, SVGProps } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
4
5
|
icon: string | ComponentType<SVGAttributes<SVGSVGElement>> | ReactElement;
|
|
@@ -12,7 +13,7 @@ interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
|
12
13
|
}
|
|
13
14
|
declare function Icon(props: IconProps): ReactElement | null;
|
|
14
15
|
|
|
15
|
-
declare function Sprite():
|
|
16
|
+
declare function Sprite(): React__default.ReactElement | null;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Returns the appropriate icon component for a given attachment
|
|
@@ -245,7 +246,9 @@ declare function SvgCrossSmall(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
|
245
246
|
|
|
246
247
|
declare function SvgCrossWhite(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
247
248
|
|
|
248
|
-
declare function SvgCube(props: SVGProps<SVGSVGElement>
|
|
249
|
+
declare function SvgCube({ iconRef, ...props }: SVGProps<SVGSVGElement> & {
|
|
250
|
+
iconRef?: React.Ref<SVGSVGElement>;
|
|
251
|
+
}): JSX.Element;
|
|
249
252
|
|
|
250
253
|
declare function SvgDash(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
251
254
|
|