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

feat: allow custom elements to be rendered for the switch camera button #137

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

suchk
Copy link
Contributor

@suchk suchk commented Sep 15, 2021

The SVG that is used for the switch camera button doesn't always align with the design of an app. This PR adds support for passing in a custom element to be rendered in place of the hardcoded SVG. I added a storybook example with a different SVG element being passed in to show how it works.

@vercel
Copy link

vercel bot commented Sep 15, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/fbaiodias/react-video-recorder/8qr3RqauwbacPDQJp9BthM1MvQF1
✅ Preview: https://react-video-recorder-git-fork-suchk-master-fbaiodias.vercel.app

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.

1 participant