For our Icon component, we are providing all the same SVGs that the mobile app was using, but it is expected that a user may want to use their own SVG. The library we use (react-native-svg) supports a couple different methods of passing an SVG, including via a local .svg file, a remote URI, remote URI with CSS, and an xml string. We should determine which methods we want to support in the Icon component and update the component accordingly.
Acceptance Criteria
- [ ] Determine which custom SVG methods to support
- [ ] Update Icon component accordingly
- [ ] Update documentation with any new props we add
Description
For our Icon component, we are providing all the same SVGs that the mobile app was using, but it is expected that a user may want to use their own SVG. The library we use (react-native-svg) supports a couple different methods of passing an SVG, including via a local .svg file, a remote URI, remote URI with CSS, and an xml string. We should determine which methods we want to support in the Icon component and update the component accordingly.
Acceptance Criteria
- [ ] Determine which custom SVG methods to support - [ ] Update Icon component accordingly - [ ] Update documentation with any new props we add