feat: #2 add prompt hints

This commit is contained in:
Yifei Zhang
2023-03-28 17:30:11 +00:00
parent 7d5e742ea6
commit 6782e65fdf
10 changed files with 238 additions and 47 deletions

View File

@@ -36,7 +36,7 @@ export function ListItem(props: { children: JSX.Element[] }) {
return <div className={styles["list-item"]}>{props.children}</div>;
}
export function List(props: { children: JSX.Element[] }) {
export function List(props: { children: JSX.Element[] | JSX.Element }) {
return <div className={styles.list}>{props.children}</div>;
}