<Audio />
mikeplis opened this issue · comments
I had the idea for a component with an API that looks something like this:
<Audio src="audiofile.mp3">
{(isPlaying, play, pause) => {
return isPlaying ? (
<MyPauseButton onClick={pause} />
) : (
<MyPlayButton onClick={play} />
);
}}
</Audio>
Think that would be a good fit for this repo?
Yup
I've created an <Audio>
component like that https://github.com/MailOnline/libreact/blob/master/docs/Audio.md
https://github.com/MailOnline/libreact/blob/master/docs/en/Audio.md
@streamich Looks like you changed the file structure of the repo. Here's the update file: https://github.com/MailOnline/libreact/blob/master/docs/en/Audio.md
Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.
Closed due to inactivity. Holler if this is a mistake, and we'll re-open it.