How to use JSX.HTMLAttributes<HTMLDivElement>?
import type { Component, JSX } from 'solid-js'
export const LeeCenter:Component<JSX.HTMLAttributes<HTMLDivElement>> = p =>
(
<div
{...p}
class={flex justify-center items-center ${p.class}}
>
{p.children}
</div>
)I want to make kind of wrapper of div.
Is this ok? it seems working.
