orenelbaum / babel-plugin-solid-undestructure

A Babel plugin for SolidJS that allows you to destructure component props without losing reactivity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The default object parameter is not supported?

russelgal opened this issue · comments

const Range: Component = ({ min=15, max=55 }={}) => {...}

Good point. It's not supported but I'll start working on it.
I'm glad to see someone is actually using this plugin 😄
Please let me know if you encounter any other issues.

Done 😎