@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
1 lines • 1.34 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","names":["ChatInputAreaParent","ChatInputAreaInner","ChatInputActionBar","ChatSendButton"],"sources":["../../../src/chat/ChatInputArea/index.ts"],"sourcesContent":["import { type ReactNode } from 'react';\n\nimport ChatInputAreaParent from './ChatInputArea';\nimport ChatInputActionBar from './components/ChatInputActionBar';\nimport ChatInputAreaInner from './components/ChatInputAreaInner';\nimport ChatSendButton from './components/ChatSendButton';\nimport type { ChatInputAreaProps } from './type';\n\ninterface IChatHeader {\n (props: ChatInputAreaProps): ReactNode;\n ActionBar: typeof ChatInputActionBar;\n Inner: typeof ChatInputAreaInner;\n SendButton: typeof ChatSendButton;\n}\n\nconst ChatInputArea = ChatInputAreaParent as unknown as IChatHeader;\n\nChatInputArea.Inner = ChatInputAreaInner;\nChatInputArea.ActionBar = ChatInputActionBar;\nChatInputArea.SendButton = ChatSendButton;\n\nexport default ChatInputArea;\nexport { default as ChatInputActionBar } from './components/ChatInputActionBar';\nexport { default as ChatInputAreaInner } from './components/ChatInputAreaInner';\nexport { default as ChatSendButton } from './components/ChatSendButton';\nexport type * from './type';\n"],"mappings":";;;;;;AAeA,MAAM,gBAAgBA;AAEtB,cAAc,QAAQC;AACtB,cAAc,YAAYC;AAC1B,cAAc,aAAaC;AAE3B,4BAAe"}