Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
apps
/
web
/
src
/
components
/
chat
/
ComposerPromptLengthValidation.tsx
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
tsx
13 lines
308 Bytes
Copy permalink
Copy
Raw
1
export
function
ComposerPromptLengthValidation
({
message
}:
{
message
:
string
|
null
})
{
2
if
(
!
message
)
return
null
;
3
4
return
(
5
<
p
6
role
=
"alert"
7
className
=
"px-3 pb-2 text-xs text-destructive sm:px-4"
8
data-chat-composer-validation
=
"prompt-length"
9
>
10
{
message
}
11
</
p
>
12
);
13
}