@channel.io/bezier-icons 0.1.1 → 0.2.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.
- package/dist/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module '*.svg' {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
export declare type IconSource = React.FunctionComponent<React.SVGProps<SVGSVGElement>>
|
|
7
|
-
export declare type BezierIcon = IconSource & {
|
|
7
|
+
export declare type BezierIcon = IconSource & { __bezier__icon: true }
|
|
8
8
|
|
|
9
9
|
export declare function isBezierIcon(arg: unknown): arg is BezierIcon
|
|
10
10
|
export declare function createBezierIcon(icon: IconSource): BezierIcon
|
package/dist/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=
|
|
1
|
+
"use strict";var e="__bezier__icon";exports.createBezierIcon=function(r){var n=r;return n[e]=!0,n},exports.isBezierIcon=function(r){return"function"==typeof r&&!0===r[e]};
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=
|
|
1
|
+
var n="__bezier__icon";function r(r){return"function"==typeof r&&!0===r[n]}function t(r){var t=r;return t[n]=!0,t}export{t as c,r as i};
|