Skip to content

Commit

Permalink
add empty propmt component
Browse files Browse the repository at this point in the history
  • Loading branch information
Peek-A-Booo committed Apr 21, 2023
1 parent 44b63dc commit dda46f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/ChatSection/ChatList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const ChatList: React.FC = () => {
tip: t("content-deleted") as string,
btn: t("undo") as string,
});

const scrollToBottom = useScrollToBottom();

const onDelete = (item: ChatItem) => {
Expand Down
7 changes: 7 additions & 0 deletions components/Prompt/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as React from "react";

const Propmpt: React.FC = () => {
return <div>asfasf</div>;
};

export default Propmpt;
1 change: 1 addition & 0 deletions components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export { default as Button } from "./Button";
export { default as Modal } from "./Modal";
export { default as Confirm } from "./Modal/confirm";
export { default as Select } from "./Select";
export { default as Prompt } from "./Prompt";

0 comments on commit dda46f4

Please sign in to comment.