@@ -510,7 +510,7 @@ export const withState = <WrappedProps extends InjectedProps>(
510
510
};
511
511
512
512
` ` `
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>
514
514
515
515
` ` ` tsx
516
516
import * as React from ' react' ;
@@ -594,7 +594,7 @@ export const withErrorBoundary = <WrappedProps extends InjectedProps>(
594
594
};
595
595
596
596
` ` `
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>
598
598
599
599
` ` ` tsx
600
600
import * as React from ' react' ;
@@ -658,7 +658,7 @@ export const SFCCounterConnected = connect(mapStateToProps, {
658
658
})(SFCCounter );
659
659
660
660
` ` `
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>
662
662
663
663
` ` ` tsx
664
664
import * as React from ' react' ;
@@ -698,7 +698,7 @@ export const SFCCounterConnectedVerbose =
698
698
connect (mapStateToProps , mapDispatchToProps )(SFCCounter );
699
699
700
700
` ` `
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>
702
702
703
703
` ` ` tsx
704
704
import * as React from ' react' ;
@@ -738,7 +738,7 @@ export const SFCCounterConnectedExtended = connect(mapStateToProps, {
738
738
})(SFCCounter );
739
739
740
740
` ` `
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>
742
742
743
743
` ` ` tsx
744
744
import * as React from ' react' ;
@@ -852,7 +852,7 @@ export const add = (amount: number) => action(ADD, amount);
852
852
// });
853
853
854
854
` ` `
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>
856
856
857
857
` ` ` tsx
858
858
import store from ' ../../store' ;
@@ -1215,7 +1215,7 @@ export const SFCCounterConnectedVerbose =
1215
1215
- Add additional ` react ` specific rules: ` npm i - D tslint - react ` https://github.com/palantir/tslint-react
1216
1216
- Overwritten some defaults for more flexibility
1217
1217
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>
1219
1219
1220
1220
` ` ` tsx
1221
1221
{
@@ -1291,7 +1291,7 @@ export const SFCCounterConnectedVerbose =
1291
1291
` npm i - D jest ts - jest @types / jest `
1292
1292
1293
1293
#### 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>
1295
1295
1296
1296
` ` ` tsx
1297
1297
{
@@ -1318,7 +1318,7 @@ export const SFCCounterConnectedVerbose =
1318
1318
</p></details>
1319
1319
1320
1320
#### 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>
1322
1322
1323
1323
` ` ` tsx
1324
1324
// Global/Window object Stubs for Jest
@@ -1378,7 +1378,7 @@ Object.values = () => [];
1378
1378
- 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 `
1379
1379
- Example "paths" setup for baseUrl relative imports with Webpack
1380
1380
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>
1382
1382
1383
1383
` ` ` tsx
1384
1384
{
0 commit comments