Skip to content

Commit 2f9741a

Browse files
committed
small fixes
1 parent fd53110 commit 2f9741a

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

Diff for: README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const SFCCounter: React.SFC<SFCCounterProps> = (props) => {
158158
159159
[⇧ back to top](#table-of-contents)
160160
161-
#### - [spreading attributes](https://facebook.github.io/react/docs/jsx-in-depth.html#spread-attributes)
161+
#### - spreading attributes [link](https://facebook.github.io/react/docs/jsx-in-depth.html#spread-attributes)
162162
163163
```tsx
164164
import * as React from 'react';
@@ -389,7 +389,7 @@ export const withState = <P extends WrappedComponentProps>(
389389
};
390390

391391
```
392-
<details><summary>SHOW USAGE</summary><p>
392+
<details><summary>show usage</summary><p>
393393
394394
```tsx
395395
import * as React from 'react';
@@ -469,7 +469,7 @@ export const withErrorBoundary = <P extends WrappedComponentProps>(
469469
};
470470

471471
```
472-
<details><summary>SHOW USAGE</summary><p>
472+
<details><summary>show usage</summary><p>
473473
474474
```tsx
475475
import * as React from 'react';
@@ -519,7 +519,7 @@ export const SFCCounterConnected = connect(mapStateToProps, {
519519
})(SFCCounter);
520520

521521
```
522-
<details><summary>SHOW USAGE</summary><p>
522+
<details><summary>show usage</summary><p>
523523
524524
```tsx
525525
import * as React from 'react';
@@ -559,7 +559,7 @@ export const SFCCounterConnectedVerbose =
559559
connect(mapStateToProps, mapDispatchToProps)(SFCCounter);
560560

561561
```
562-
<details><summary>SHOW USAGE</summary><p>
562+
<details><summary>show usage</summary><p>
563563
564564
```tsx
565565
import * as React from 'react';
@@ -599,7 +599,7 @@ export const SFCCounterConnectedExtended = connect(mapStateToProps, {
599599
})(SFCCounter);
600600

601601
```
602-
<details><summary>SHOW USAGE</summary><p>
602+
<details><summary>show usage</summary><p>
603603
604604
```tsx
605605
import * as React from 'react';
@@ -658,7 +658,7 @@ export const actionCreators = {
658658
};
659659

660660
```
661-
<details><summary>SHOW USAGE</summary><p>
661+
<details><summary>show usage</summary><p>
662662
663663
```tsx
664664
import store from '@src/store';
@@ -1000,6 +1000,7 @@ export const getFilteredTodos = createSelector(
10001000
[⟩⟩⟩ demo](https://piotrwitek.github.io/react-redux-typescript-guide/styleguide/)
10011001
10021002
[⇧ back to top](#table-of-contents)
1003+
10031004
---
10041005
10051006
# Extras

Diff for: docs/markdown/1_react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const handleChange: React.ReactEventHandler<HTMLInputElement> = (ev) => { ...
6565
6666
[⇧ back to top](#table-of-contents)
6767
68-
#### - [spreading attributes](https://facebook.github.io/react/docs/jsx-in-depth.html#spread-attributes)
68+
#### - spreading attributes [link](https://facebook.github.io/react/docs/jsx-in-depth.html#spread-attributes)
6969
7070
::example='../../playground/src/components/sfc-spread-attributes.tsx'::
7171

Diff for: docs/markdown/3_tools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
[⟩⟩⟩ demo](https://piotrwitek.github.io/react-redux-typescript-guide/styleguide/)
99

10-
[⇧ back to top](#table-of-contents)
10+
[⇧ back to top](#table-of-contents)

Diff for: generator/bin/generate-readme.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: generator/src/generate-readme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ${'```'}
5858

5959
function withDetailsWrapper(text: string) {
6060
return `
61-
<details><summary>SHOW USAGE</summary><p>
61+
<details><summary>show usage</summary><p>
6262
6363
${'```tsx'}
6464
${text}

0 commit comments

Comments
 (0)