Explicitely support React out of the box

This commit is contained in:
garronej 2023-05-21 08:04:44 +02:00
parent ca7cc26df5
commit 4e0b798031
7 changed files with 63 additions and 10 deletions

View file

@ -31,14 +31,15 @@ $ npm install --save #{REPO_NAME}#
```
```typescript
import { myFunction, myObject } from "#{REPO_NAME}#";
import { myFunction, myObject, MyReactComponent } from "#{REPO_NAME}#";
```
Specific imports:
Specific imports, only import what you need:
```typescript
import { myFunction } from "#{REPO_NAME}#/myFunction";
import { myObject } from "#{REPO_NAME}#/myObject";
import MyReactComponent from "#{REPO_NAME}#/MyReactComponent";
```
# Contributing