Skip to content

Commit 5156d5f

Browse files
CodeChiefLipiotrwitek
CodeChiefLi
authored andcommitted
Removed styles attr as they are not working in github md files
1 parent a7cbb8b commit 5156d5f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export const withState = <WrappedProps extends InjectedProps>(
510510
};
511511

512512
```
513-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
513+
<details><summary><i>Click to expand</i></summary><p>
514514
515515
```tsx
516516
import * as React from 'react';
@@ -594,7 +594,7 @@ export const withErrorBoundary = <WrappedProps extends InjectedProps>(
594594
};
595595

596596
```
597-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
597+
<details><summary><i>Click to expand</i></summary><p>
598598
599599
```tsx
600600
import * as React from 'react';
@@ -658,7 +658,7 @@ export const SFCCounterConnected = connect(mapStateToProps, {
658658
})(SFCCounter);
659659

660660
```
661-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
661+
<details><summary><i>Click to expand</i></summary><p>
662662
663663
```tsx
664664
import * as React from 'react';
@@ -698,7 +698,7 @@ export const SFCCounterConnectedVerbose =
698698
connect(mapStateToProps, mapDispatchToProps)(SFCCounter);
699699

700700
```
701-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
701+
<details><summary><i>Click to expand</i></summary><p>
702702
703703
```tsx
704704
import * as React from 'react';
@@ -738,7 +738,7 @@ export const SFCCounterConnectedExtended = connect(mapStateToProps, {
738738
})(SFCCounter);
739739

740740
```
741-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
741+
<details><summary><i>Click to expand</i></summary><p>
742742
743743
```tsx
744744
import * as React from 'react';
@@ -852,7 +852,7 @@ export const add = (amount: number) => action(ADD, amount);
852852
// });
853853

854854
```
855-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
855+
<details><summary><i>Click to expand</i></summary><p>
856856
857857
```tsx
858858
import store from '../../store';
@@ -1215,7 +1215,7 @@ export const SFCCounterConnectedVerbose =
12151215
- Add additional `react` specific rules: `npm i -D tslint-react` https://github.com/palantir/tslint-react
12161216
- Overwritten some defaults for more flexibility
12171217
1218-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
1218+
<details><summary><i>Click to expand</i></summary><p>
12191219
12201220
```tsx
12211221
{
@@ -1291,7 +1291,7 @@ export const SFCCounterConnectedVerbose =
12911291
`npm i -D jest ts-jest @types/jest`
12921292
12931293
#### jest.config.json
1294-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
1294+
<details><summary><i>Click to expand</i></summary><p>
12951295
12961296
```tsx
12971297
{
@@ -1318,7 +1318,7 @@ export const SFCCounterConnectedVerbose =
13181318
</p></details>
13191319
13201320
#### jest.stubs.js
1321-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
1321+
<details><summary><i>Click to expand</i></summary><p>
13221322
13231323
```tsx
13241324
// Global/Window object Stubs for Jest
@@ -1378,7 +1378,7 @@ Object.values = () => [];
13781378
- Install [`tslib`](https://www.npmjs.com/package/tslib) to cut on bundle size, by using external runtime helpers instead of adding them inline: `npm i tslib`
13791379
- Example "paths" setup for baseUrl relative imports with Webpack
13801380
1381-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
1381+
<details><summary><i>Click to expand</i></summary><p>
13821382
13831383
```tsx
13841384
{

Diff for: generate-readme.js

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

4040
function withDetailsWrapper(text) {
4141
return `
42-
<details style="background: #f6f8fa;border-radius: 3px;"><summary style="padding: 6px 12px;border-radius: 3px;"><i>Click to expand</i></summary><p>
42+
<details><summary><i>Click to expand</i></summary><p>
4343
4444
${'```tsx'}
4545
${text}

0 commit comments

Comments
 (0)