@thesvg/react 4.0.11 → 4.0.12
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/README.md +1 -1
- package/dist/apiko.cjs +26 -0
- package/dist/apiko.d.ts +14 -0
- package/dist/apiko.js +25 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<picture>
|
|
4
4
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/glincker/thesvg/main/public/og-image.png" />
|
|
5
5
|
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/glincker/thesvg/main/public/og-image-light.png" />
|
|
6
|
-
<img src="https://raw.githubusercontent.com/glincker/thesvg/main/public/og-image-light.png" alt="theSVG - 7,
|
|
6
|
+
<img src="https://raw.githubusercontent.com/glincker/thesvg/main/public/og-image-light.png" alt="theSVG - 7,900+ Brand SVG Icons" width="700" />
|
|
7
7
|
</picture>
|
|
8
8
|
</a>
|
|
9
9
|
</p>
|
package/dist/apiko.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @thesvg/react — APIKO
|
|
3
|
+
// Auto-generated. Do not edit.
|
|
4
|
+
// Variants: default, mono
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
|
|
10
|
+
const _variants = {"default":{"viewBox":"0 0 512 512","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["APIKO"]},{"type":"rect","props":{"width":"512","height":"512","rx":"112","fill":"#5B5BD6"},"children":[]},{"type":"path","props":{"d":"M142 352 256 128l114 224","fill":"none","stroke":"#fff","strokeWidth":"42","strokeLinecap":"round","strokeLinejoin":"round"},"children":[]},{"type":"path","props":{"d":"M200 260h112","fill":"none","stroke":"#fff","strokeWidth":"38","strokeLinecap":"round"},"children":[]},{"type":"circle","props":{"cx":"142","cy":"352","r":"30","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"256","cy":"128","r":"30","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"370","cy":"352","r":"30","fill":"#fff"},"children":[]}]},"mono":{"viewBox":"0 0 512 512","fill":"currentColor","stroke":"currentColor","childNodes":[{"type":"title","props":{},"children":["APIKO"]},{"type":"path","props":{"d":"M142 352 256 128l114 224","strokeWidth":"42","strokeLinecap":"round","strokeLinejoin":"round"},"children":[]},{"type":"path","props":{"d":"M200 260h112","strokeWidth":"38","strokeLinecap":"round"},"children":[]},{"type":"circle","props":{"cx":"142","cy":"352","r":"30","fill":"currentColor","stroke":"none"},"children":[]},{"type":"circle","props":{"cx":"256","cy":"128","r":"30","fill":"currentColor","stroke":"none"},"children":[]},{"type":"circle","props":{"cx":"370","cy":"352","r":"30","fill":"currentColor","stroke":"none"},"children":[]}]}};
|
|
11
|
+
|
|
12
|
+
const Apiko = react_1.forwardRef(function Apiko({ variant = 'default', viewBox, ...props }, ref) {
|
|
13
|
+
const _v = _variants[variant] || _variants.default;
|
|
14
|
+
return react_1.createElement(
|
|
15
|
+
'svg',
|
|
16
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
17
|
+
..._v.childNodes
|
|
18
|
+
.map(function _c(el) {
|
|
19
|
+
if (typeof el === 'string') return el;
|
|
20
|
+
return react_1.createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
21
|
+
})
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
Apiko.displayName = 'Apiko';
|
|
25
|
+
|
|
26
|
+
exports.default = Apiko;
|
package/dist/apiko.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @thesvg/react — APIKO
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
|
|
4
|
+
import type { SVGProps, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export type ApikoVariant = 'default' | 'mono';
|
|
7
|
+
|
|
8
|
+
export interface ApikoProps extends SVGProps<SVGSVGElement> {
|
|
9
|
+
/** Which icon variant to render. Defaults to "default". */
|
|
10
|
+
variant?: ApikoVariant;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const Apiko: ForwardRefExoticComponent<ApikoProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export default Apiko;
|
package/dist/apiko.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @thesvg/react — APIKO
|
|
2
|
+
// Auto-generated. Do not edit.
|
|
3
|
+
// Variants: default, mono
|
|
4
|
+
|
|
5
|
+
import { forwardRef, createElement } from 'react';
|
|
6
|
+
|
|
7
|
+
const _variants = {"default":{"viewBox":"0 0 512 512","fill":"currentColor","childNodes":[{"type":"title","props":{},"children":["APIKO"]},{"type":"rect","props":{"width":"512","height":"512","rx":"112","fill":"#5B5BD6"},"children":[]},{"type":"path","props":{"d":"M142 352 256 128l114 224","fill":"none","stroke":"#fff","strokeWidth":"42","strokeLinecap":"round","strokeLinejoin":"round"},"children":[]},{"type":"path","props":{"d":"M200 260h112","fill":"none","stroke":"#fff","strokeWidth":"38","strokeLinecap":"round"},"children":[]},{"type":"circle","props":{"cx":"142","cy":"352","r":"30","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"256","cy":"128","r":"30","fill":"#fff"},"children":[]},{"type":"circle","props":{"cx":"370","cy":"352","r":"30","fill":"#fff"},"children":[]}]},"mono":{"viewBox":"0 0 512 512","fill":"currentColor","stroke":"currentColor","childNodes":[{"type":"title","props":{},"children":["APIKO"]},{"type":"path","props":{"d":"M142 352 256 128l114 224","strokeWidth":"42","strokeLinecap":"round","strokeLinejoin":"round"},"children":[]},{"type":"path","props":{"d":"M200 260h112","strokeWidth":"38","strokeLinecap":"round"},"children":[]},{"type":"circle","props":{"cx":"142","cy":"352","r":"30","fill":"currentColor","stroke":"none"},"children":[]},{"type":"circle","props":{"cx":"256","cy":"128","r":"30","fill":"currentColor","stroke":"none"},"children":[]},{"type":"circle","props":{"cx":"370","cy":"352","r":"30","fill":"currentColor","stroke":"none"},"children":[]}]}};
|
|
8
|
+
|
|
9
|
+
const Apiko = forwardRef(
|
|
10
|
+
function Apiko({ variant = 'default', viewBox, ...props }, ref) {
|
|
11
|
+
const _v = _variants[variant] || _variants.default;
|
|
12
|
+
return createElement(
|
|
13
|
+
'svg',
|
|
14
|
+
Object.assign({ ref, viewBox: viewBox || _v.viewBox, fill: _v.fill, stroke: _v.stroke, xmlns: 'http://www.w3.org/2000/svg' }, props),
|
|
15
|
+
..._v.childNodes
|
|
16
|
+
.map(function _c(el) {
|
|
17
|
+
if (typeof el === 'string') return el;
|
|
18
|
+
return createElement(el.type, el.props, ...(el.children || []).map(_c));
|
|
19
|
+
})
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
Apiko.displayName = 'Apiko';
|
|
24
|
+
|
|
25
|
+
export default Apiko;
|
package/dist/index.cjs
CHANGED
|
@@ -596,6 +596,8 @@ const _apifox = require('./apifox.cjs');
|
|
|
596
596
|
exports.Apifox = _apifox.default;
|
|
597
597
|
const _apigee_badge = require('./apigee-badge.cjs');
|
|
598
598
|
exports.ApigeeBadge = _apigee_badge.default;
|
|
599
|
+
const _apiko = require('./apiko.cjs');
|
|
600
|
+
exports.Apiko = _apiko.default;
|
|
599
601
|
const _apl = require('./apl.cjs');
|
|
600
602
|
exports.Apl = _apl.default;
|
|
601
603
|
const _apm_terminals = require('./apm-terminals.cjs');
|
package/dist/index.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ export { default as Apex } from './apex.js';
|
|
|
299
299
|
export { default as Apidog } from './apidog.js';
|
|
300
300
|
export { default as Apifox } from './apifox.js';
|
|
301
301
|
export { default as ApigeeBadge } from './apigee-badge.js';
|
|
302
|
+
export { default as Apiko } from './apiko.js';
|
|
302
303
|
export { default as Apl } from './apl.js';
|
|
303
304
|
export { default as ApmTerminals } from './apm-terminals.js';
|
|
304
305
|
export { default as ApolloGraphql } from './apollo-graphql.js';
|
package/dist/index.js
CHANGED
|
@@ -297,6 +297,7 @@ export { default as Apex } from './apex.js';
|
|
|
297
297
|
export { default as Apidog } from './apidog.js';
|
|
298
298
|
export { default as Apifox } from './apifox.js';
|
|
299
299
|
export { default as ApigeeBadge } from './apigee-badge.js';
|
|
300
|
+
export { default as Apiko } from './apiko.js';
|
|
300
301
|
export { default as Apl } from './apl.js';
|
|
301
302
|
export { default as ApmTerminals } from './apm-terminals.js';
|
|
302
303
|
export { default as ApolloGraphql } from './apollo-graphql.js';
|