File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
components/components/chatInput Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ import classNames from "classnames";
77import { GoArrowUpRight } from "react-icons/go" ;
88
99const shortcutIdeas = [
10+ {
11+ id : 'Productcategories' ,
12+ label : 'Product categories' ,
13+ value : 'A list of product categories with image, name and description.' ,
14+ } ,
15+ {
16+ id : 'HeroSection' ,
17+ label : 'Hero section' ,
18+ value : 'A landing page hero section with a heading, leading text and an opt-in form.' ,
19+ } ,
1020 {
1121 id : 'Contactform' ,
1222 label : 'Contact form' ,
@@ -148,7 +158,8 @@ export default function ChatInput({openWhiteboard, showAnim}: props) {
148158 {
149159 shortcutIdeas . map ( ( shortcut ) => {
150160 return (
151- < button
161+ < button
162+ key = { shortcut . id }
152163 className = 'rounded-full border border-zinc-200 px-2 py-0.5 inline-flex gap-1 items-center whitespace-nowrap select-none hover:border-zinc-800 transition-colors'
153164 onClick = { ( ) => {
154165 setInitCreateText ( shortcut . value ) ;
@@ -159,8 +170,6 @@ export default function ChatInput({openWhiteboard, showAnim}: props) {
159170 </ button > )
160171 } )
161172 }
162-
163-
164173 </ div >
165174 </ div >
166175 </ div >
You can’t perform that action at this time.
0 commit comments