Skip to content

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

Open
GavinThomas1192 wants to merge 2 commits intodannytheliar:masterfrom
GavinThomas1192:master
Open

Proposed Changes to add a Start Trigger and Reset Trigger#14
GavinThomas1192 wants to merge 2 commits intodannytheliar:masterfrom
GavinThomas1192:master

Conversation

@GavinThomas1192
Copy link
Copy Markdown

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
Copy Markdown
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

Comment thread src/AudioRecorder.tsx
'AudioRecorder-button',
this.state.audioData ? 'hasAudio' : '',
this.state.isPlaying ? 'isPlaying' : '',
// this.state.isPlaying ? 'isPlaying' : '',
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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.

3 participants