svelte-skeleton
svelte-skeleton copied to clipboard
Add string type to width and height
Is your feature request related to a problem? Please describe.
The width
and height
props only has a number
type. Although you can pass it a string which works fine, but it also displays an error with TypeScript that says Type 'string' is not assignable to type 'number'.
Describe the solution you'd like
Add string
type to the width
and height
props
Thanks for the enhancement, I will be grateful for the pull request) Or I’ll do it myself a little later today)