import React, { type PropsWithChildren } from 'react'; export function Empty() { return null; } export function SubComponent({ children }: PropsWithChildren) { return

{children || 'Sub'}

; } export function MyComponent() { return (
Sub host Sub sub host {true &&
condition
}

Hello

); } export function Button({ children, type = 'button', ...props }: React.ComponentProps<'button'>) { return ( ); } export function List({ children, ...props }: React.ComponentProps<'ul'>) { return ; } export function ListItem({ children, ...props }: React.ComponentProps<'li'>) { return
  • {children}
  • ; } export function Table({ children, ...props }: React.ComponentProps<'table'>) { return {children}
    ; } export function TableHead({ children, ...props }: React.ComponentProps<'thead'>) { return {children}; } export function TableBody({ children, ...props }: React.ComponentProps<'tbody'>) { return {children}; } export function TableFoot({ children, ...props }: React.ComponentProps<'tfoot'>) { return {children}; } export function TableRow({ children, ...props }: React.ComponentProps<'tr'>) { return {children}; } export function TableHeadCell({ children, ...props }: React.ComponentProps<'th'>) { return {children}; } export function TableCell({ children, ...props }: React.ComponentProps<'td'>) { return {children}; }