mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
chore(web): new lint setup (#30020)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
import type { ChangeEvent } from 'react'
|
||||
import type { ValidatedStatusState } from './declarations'
|
||||
import { ValidatedStatus } from './declarations'
|
||||
import {
|
||||
ValidatedErrorIcon,
|
||||
ValidatedErrorMessage,
|
||||
ValidatedSuccessIcon,
|
||||
ValidatingTip,
|
||||
} from './ValidateStatus'
|
||||
import { ValidatedStatus } from './declarations'
|
||||
import type { ValidatedStatusState } from './declarations'
|
||||
|
||||
type KeyInputProps = {
|
||||
value?: string
|
||||
@ -52,16 +52,17 @@ const KeyInput = ({
|
||||
return (
|
||||
<div className={className}>
|
||||
<div className="mb-2 text-[13px] font-medium text-gray-800">{name}</div>
|
||||
<div className='
|
||||
<div className="
|
||||
flex items-center rounded-lg bg-white px-3
|
||||
shadow-xs
|
||||
'>
|
||||
"
|
||||
>
|
||||
<input
|
||||
className='
|
||||
className="
|
||||
mr-2 w-full appearance-none
|
||||
bg-transparent py-[9px] text-xs font-medium
|
||||
leading-[18px] text-gray-700 outline-none
|
||||
'
|
||||
"
|
||||
value={value}
|
||||
placeholder={placeholder}
|
||||
onChange={handleChange}
|
||||
|
||||
Reference in New Issue
Block a user