svg-to-react-native-cli icon indicating copy to clipboard operation
svg-to-react-native-cli copied to clipboard

Height and Width not used from props

Open richkeenan opened this issue 7 years ago • 1 comments

Hey 👋

Cool tool, thanks for making it. It seems like the props aren't used to specify height/width even though the readme states that these are number priority.

The example in the readme doesn't use the props argument and in components I've created using the tool this is the case.

Is this expected? I'd be happy to make a PR addressing this if not.

richkeenan avatar Oct 18 '18 12:10 richkeenan

@richkeenan I've made a fork and a PR with the option to override height, width, fill and stroke through props.

roydigerhund avatar Mar 07 '19 23:03 roydigerhund