Hey, love that you built this repo, thanks for publishing it!
Was looking a bit at how you export components, using things like:
export const Composer = {
Provider: ComposerProvider,
Frame: ComposerFrame,
Header: ComposerHeader,
Input: ComposerInput,
Footer: ComposerFooter,
AttachButton: ComposerAttachButton,
Attachments: ComposerAttachments,
SendButton: ComposerSendButton,
};
I just found out you can do something like export * as Composer from '@some/dep';.
I got it from radix themselves https://app.unpkg.com/radix-ui%401.4.2/files/src/index.ts
Thought maybe this pattern could be useful for you somehow.
Cheers1
Hey, love that you built this repo, thanks for publishing it!
Was looking a bit at how you export components, using things like:
I just found out you can do something like
export * as Composer from '@some/dep';.I got it from radix themselves https://app.unpkg.com/radix-ui%401.4.2/files/src/index.ts
Thought maybe this pattern could be useful for you somehow.
Cheers1