@bbki.ng/components 2.1.37 → 2.1.38
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -65,7 +65,8 @@ interface LinkProps extends LinkProps$1 {
|
|
|
65
65
|
}
|
|
66
66
|
declare const Link: (props: LinkProps) => JSX.Element;
|
|
67
67
|
|
|
68
|
-
interface TagProps extends Pick<LinkProps, "to" | "children" | "className"> {
|
|
68
|
+
interface TagProps extends Pick<LinkProps, "to" | "children" | "className" | "external"> {
|
|
69
|
+
prefix?: string;
|
|
69
70
|
name?: string;
|
|
70
71
|
}
|
|
71
72
|
declare const Tag: (props: TagProps) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -208,7 +208,7 @@ var Tag = (props) => {
|
|
|
208
208
|
return /* @__PURE__ */ React8.createElement(Link, {
|
|
209
209
|
...props,
|
|
210
210
|
color: "gray" /* GRAY */
|
|
211
|
-
}, /* @__PURE__ */ React8.createElement("small", null, "#", props.children));
|
|
211
|
+
}, /* @__PURE__ */ React8.createElement("small", null, props.prefix || "#", props.children));
|
|
212
212
|
};
|
|
213
213
|
var Tags = (props) => {
|
|
214
214
|
const { tags, className } = props;
|