do we really need this wrapper component that does nothing but pass props with the same names to the neighboring react component
|
export const createHost = (children: React.ReactNode, callback: Callback) => { |
|
return <HostSlots children={children} callback={callback} /> |
|
} |
do we really need this wrapper component that does nothing but pass props with the same names to the neighboring react component
create-slots/src/index.tsx
Lines 45 to 47 in bf26e21