mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-10 14:52:49 +02:00
Use PlainInput for Prompt.tsx
This commit is contained in:
@@ -2,7 +2,7 @@ import type { FormEvent } from 'react';
|
|||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
import { Button } from '../components/core/Button';
|
import { Button } from '../components/core/Button';
|
||||||
import type { InputProps } from '../components/core/Input';
|
import type { InputProps } from '../components/core/Input';
|
||||||
import { Input } from '../components/core/Input';
|
import { PlainInput } from '../components/core/PlainInput';
|
||||||
import { HStack } from '../components/core/Stacks';
|
import { HStack } from '../components/core/Stacks';
|
||||||
|
|
||||||
export interface PromptProps {
|
export interface PromptProps {
|
||||||
@@ -41,7 +41,7 @@ export function Prompt({
|
|||||||
className="grid grid-rows-[auto_auto] grid-cols-[minmax(0,1fr)] gap-4 mb-4"
|
className="grid grid-rows-[auto_auto] grid-cols-[minmax(0,1fr)] gap-4 mb-4"
|
||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
>
|
>
|
||||||
<Input
|
<PlainInput
|
||||||
hideLabel
|
hideLabel
|
||||||
autoSelect
|
autoSelect
|
||||||
require={require}
|
require={require}
|
||||||
|
|||||||
Reference in New Issue
Block a user