-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Width and Height that wasn't working and add some extra props
Width and Height props weren't working at all. The width was fixed. Also added a size prop to configure both. Also, proving only with works anyway. Finally, added preserveAspectRatio prop, to configure that parameter on the SVG. Uses Vue's CSS v-bind to pass the variables to the CSS.
- Loading branch information
Showing
1 changed file
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters