Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ as React props to attach appearance, behavior, or functionality to the
[Community A-Frame components](https://aframe.io/registry/) can be imported and
installed through npm:

```
```jsx
import 'aframe-particle-system-component';
import 'aframe-mountain-component';

Expand Down Expand Up @@ -274,7 +274,7 @@ are.
Use `aframe-react`'s `_ref` prop to add a callback to the underlying
`<a-entity>` DOM node:

```
```jsx
<Entity _ref={this.entityCallback}/>
```

Expand Down Expand Up @@ -307,7 +307,7 @@ A-Frame component.
`aframe-react` works with Preact. Since `aframe-react` uses `React.Component`,
we have to tell Webpack to alias that to `Preact.Component`:

```
```js
resolve: {
alias: {
react: 'preact'
Expand Down