Skip to content

Commit e00388d

Browse files
authored
Fix documentation issue (#55)
1 parent 8eb5e4b commit e00388d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const App = () => {
6464
<Col>
6565
<Row><h1>F.A.Q.</h1></Row>
6666
<Row>
67-
<p><strong>7 kb (gzipped) is too much for my project! Is it possible to treeshake it?</strong></p>
67+
<p><strong>X kb (gzipped) is too much for my project! Is it possible to treeshake it?</strong></p>
6868
</Row>
6969
<Row>
7070
<p>Yes. If you know already you're going to use only one type of button, you can just pick it: just import <code>SPIDReactButtonModal</code> or <code>SPIDReactButtonDropdown</code> and experice full treeshake.</p>

scripts/doc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function typeDescription({ type, ...props }, inline = false) {
6565
if (props.typeArguments) {
6666
return `${props.name}<${props.typeArguments
6767
.map(typeDescription)
68-
.join(' | ')}>`;
68+
.join(' , ')}>`;
6969
}
7070
return props.name;
7171
}

src/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export type SPIDButtonProps = {
9595
/**
9696
* It forces an ascending order (A->Z) of the providers, based on the entityName string.
9797
* Note that this will sort with no distictions between official and extraProviders in the list.
98-
* @defaultValue false
98+
* @defaultValue `false`
9999
*/
100100
sorted?: boolean;
101101
/**

0 commit comments

Comments
 (0)