department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

Icon – Determine custom SVG functionality #103

Closed narin closed 5 months ago

narin commented 5 months ago

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
kellylein commented 5 months ago

Our current strategy is good for now.