mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
refactor: refactor the button component using forwardRef (#4379)
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
This commit is contained in:
@@ -128,7 +128,7 @@ const TextAreaWithButton = ({
|
||||
<div>
|
||||
<Button
|
||||
onClick={onSubmit}
|
||||
type="primary"
|
||||
variant="primary"
|
||||
loading={loading}
|
||||
disabled={(!text?.length || text?.length > 200)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user