Skip to content

Commit

Permalink
docs(sounds): update playground sandboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Jan 14, 2021
1 parent 2bc46da commit e5b1fb2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/sounds/src/withBleeps/basic.sandbox.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```js
const SOUND_CLICK_URL = '/sounds/click.mp3';
const SOUND_CLICK_URL = '/assets/sounds/click.mp3';

const ButtonComponent = ({ bleeps, children }) => {
const onClick = () => bleeps.tap.play();
Expand Down
4 changes: 2 additions & 2 deletions packages/sounds/src/withBleeps/categories.sandbox.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```js
const SOUND_INFORMATION_URL = '/sounds/information.mp3';
const SOUND_WARNING_URL = '/sounds/warning.mp3';
const SOUND_INFORMATION_URL = '/assets/sounds/information.mp3';
const SOUND_WARNING_URL = '/assets/sounds/warning.mp3';

// NotifyInfo

Expand Down
2 changes: 1 addition & 1 deletion packages/sounds/src/withBleeps/dynamic.sandbox.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```js
const SOUND_CLICK_URL = '/sounds/click.mp3';
const SOUND_CLICK_URL = '/assets/sounds/click.mp3';
const VOLUME_LOW = 0.1;
const VOLUME_HIGH = 1;

Expand Down
2 changes: 1 addition & 1 deletion packages/sounds/src/withBleeps/loops.sandbox.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```js
const SOUND_TYPING_URL = '/sounds/typing.mp3';
const SOUND_TYPING_URL = '/assets/sounds/typing.mp3';

const TypingComponent = ({ bleeps, children }) => {
const [status, setStatus] = React.useState('Not typing.');
Expand Down

0 comments on commit e5b1fb2

Please sign in to comment.