@graphql-markdown/printer-legacy
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@graphql-markdown/utils": "^1.1.2" | ||
"@graphql-markdown/utils": "^1.1.3" | ||
}, | ||
@@ -29,0 +29,0 @@ "directories": { |
@@ -6,3 +6,3 @@ module.exports = ` | ||
export const Badge = (props) => <><span class={'badge badge--' + props.class}>{props.text}</span></> | ||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
`; |
@@ -154,3 +154,3 @@ const { | ||
const link = this.toLink(type, type.name, category); | ||
return `[\`${link.text}\`](${link.url}) <Badge class="secondary" text="${category.singular}"/>`; | ||
return `[\`${link.text}\`](${link.url}) <Badge className="secondary" text="${category.singular}"/>`; | ||
} | ||
@@ -458,3 +458,3 @@ | ||
: ""; | ||
return `<Badge class="warning" text="DEPRECATED${reason}"/>${MARKDOWN_EOP}`; | ||
return `<Badge className="warning" text="DEPRECATED${reason}"/>${MARKDOWN_EOP}`; | ||
} | ||
@@ -461,0 +461,0 @@ |
19607