Skip to content

Commit

Permalink
fix(video player): correcting the VideoPlayer export
Browse files Browse the repository at this point in the history
  • Loading branch information
mumanity committed Oct 3, 2023
1 parent 1587e2a commit 18213d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
27 changes: 2 additions & 25 deletions examples/react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo

1. Make a copy of the `.env.local.example` as `.env.local`, which will be loaded by the app to get the credentials for testing.

2. Update the `.env.local` file with the AWS credentials you get. Make sure they include the `REACT_APP_PREFIX`!

## Install the latest @iot-app-kit/* packages built locally

`npm run link`

## Automatically rebuild and relink @iot-app-kit/* packages

`npm run hot-link`
2. Update the `.env.local` file with the AWS credentials you get. Make sure they include the `VITE`!

## Note

Expand All @@ -24,19 +16,14 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo

In the project directory, you can run:

### `npm start`
### `npm run start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
Expand All @@ -47,16 +34,6 @@ Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* carefully consider what should be part of the public API. Attempt to minimize the overall API surface area.
*/

export * from './components/video-player';
export { VideoPlayer } from './components/video-player';
export { ResourceExplorer } from './components';
export { Table } from './components/table';
export { LineChart } from './components/line-chart';
Expand Down

0 comments on commit 18213d7

Please sign in to comment.