UNPKG

@assistant-ui/react

Version:

React components for AI chat.

1 lines 936 B
{"version":3,"sources":["../../../src/primitive-hooks/branchPicker/index.ts"],"sourcesContent":["/**\n * @deprecated Use `useMessage(m => m.branhcCount)` instead. This will be removed in 0.6.\n */\nexport { useBranchPickerCount } from \"./useBranchPickerCount\";\n\n/**\n * @deprecated Use `useMessageRuntime().switchToBranch({ position: \"next\" })` instead. This will be removed in 0.6.\n */\nexport { useBranchPickerNext } from \"./useBranchPickerNext\";\n/**\n * @deprecated Use `useMessage(m => m.branchNumber)` instead. This will be removed in 0.6.\n */\nexport { useBranchPickerNumber } from \"./useBranchPickerNumber\";\n\n/**\n * @deprecated Use `useMessageRuntime().switchToBranch({ position: \"previous\" })` instead. This will be removed in 0.6.\n */\nexport { useBranchPickerPrevious } from \"./useBranchPickerPrevious\";\n"],"mappings":";AAGA,SAAS,4BAA4B;AAKrC,SAAS,2BAA2B;AAIpC,SAAS,6BAA6B;AAKtC,SAAS,+BAA+B;","names":[]}