solid-js
solid-js copied to clipboard
Typescript: rows/columns attribute missing from <gridlayout>
The rows and column attributes (and maybe more) is missing from the type of the
export const App = () => {
return (
<gridlayout rows="*,50">
...
</gridlayout>
)
}
ERROR in ./app/app.tsx
TS2322: Type '{ children: Element[]; rows: string; }' is not assignable to type 'JSXElementAttributes<"GridLayout">'.
Property 'rows' does not exist on type 'JSXElementAttributes<"GridLayout">'. Did you mean 'row'?
Functionally everything works, only the typings are incomplete.