chat-ui / src /lib /Types.ts
julien-c's picture
julien-c HF staff
move type to its own file
bd8c7a0 verified
raw
history blame
101 Bytes
export type Message =
| {
from: 'user';
content: string;
}
| {
from: 'bot';
content: string;
};