import { JSX, ParentComponent, Show, splitProps } from 'solid-js' import { twMerge } from 'tailwind-merge' export const Button: ParentComponent< JSX.ButtonHTMLAttributes & { loading?: boolean disabled?: boolean } > = (props) => { const [local, others] = splitProps(props, ['class', 'loading', 'disabled']) return ( ) }