Skip to content

Commit

Permalink
feat: add useAttachment / useAttachmentRuntime export (#1036)
Browse files Browse the repository at this point in the history
Co-authored-by: xiangst <[email protected]>
  • Loading branch information
Yonom and xiangst0816 authored Oct 20, 2024
1 parent 18f55f0 commit fadb2ec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/react/src/context/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,16 @@ export {
*/
useComposerContext,
} from "./ComposerContext";

export {
useAttachment,
useAttachmentRuntime,

// TODO decide if we want to export/drop these?
// useEditComposerAttachment,
// useEditComposerAttachmentRuntime,
// useMessageAttachment,
// useMessageAttachmentRuntime,
// useThreadComposerAttachment,
// useThreadComposerAttachmentRuntime,
} from "./AttachmentContext";

0 comments on commit fadb2ec

Please sign in to comment.