Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed Changes to add a Start Trigger and Reset Trigger #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GavinThomas1192
Copy link

I added two more props,
startRecording?: boolean, reset?: boolean,

And attached them to a didUpdate to be able to have more functionality over your package.
componentDidUpdate() { { this.props.startRecording ? this.startRecording() : undefined } { this.props.reset ? this.onRemoveClick() : undefined } }

I also updated Readme to reflect these changes.

Copy link
Collaborator

@bzitzow bzitzow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove commented out code

@@ -171,14 +172,14 @@ export default class AudioRecorder extends React.Component<AudioRecorderProps, A
[
'AudioRecorder-button',
this.state.audioData ? 'hasAudio' : '',
this.state.isPlaying ? 'isPlaying' : '',
// this.state.isPlaying ? 'isPlaying' : '',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove commented out code

@bzitzow
Copy link
Collaborator

bzitzow commented Jan 14, 2019

Gavin, I don't maintain this project but I'm using it and looking at extending it too. I'm thinking about reaching out to @danrouse and seeing if he wants any help maintaining the project.

Do you have any interest in this pull request getting added?

@jakeols
Copy link

jakeols commented Nov 11, 2019

Hey @bzitzow, do you still use this project? I'm still using it and would also be available to help maintain if @danrouse would like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants