jaredpalmer / react-fns

Browser API's turned into declarative React components and HoC's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<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?

commented

@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

commented

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.

commented

Closed due to inactivity. Holler if this is a mistake, and we'll re-open it.