Sanity Library Reference Docs
Preparing search index...
sanity
index
TextDefinition
Interface TextDefinition
interface
TextDefinition
{
components
?:
TextComponents
;
deprecated
?:
DeprecatedProperty
;
description
?:
string
|
Element
;
hidden
?:
ConditionalProperty
;
icon
?:
ReactNode
|
ComponentType
<
{}
>
;
initialValue
?:
InitialValueProperty
<
any
,
string
>
;
name
:
string
;
options
?:
TextOptions
;
placeholder
?:
string
;
readOnly
?:
ConditionalProperty
;
rows
?:
number
;
title
?:
string
;
type
:
"text"
;
validation
?:
ValidationBuilder
<
TextRule
,
string
>
;
}
Hierarchy (
View Summary
)
BaseSchemaDefinition
TextDefinition
Index
Properties
components?
deprecated?
description?
hidden?
icon?
initial
Value?
name
options?
placeholder?
read
Only?
rows?
title?
type
validation?
Properties
Optional
Beta
components
components
?:
TextComponents
Hidden
Optional
deprecated
deprecated
?:
DeprecatedProperty
Optional
description
description
?:
string
|
Element
Optional
hidden
hidden
?:
ConditionalProperty
Optional
icon
icon
?:
ReactNode
|
ComponentType
<
{}
>
Optional
initial
Value
initialValue
?:
InitialValueProperty
<
any
,
string
>
name
name
:
string
Optional
options
options
?:
TextOptions
Optional
placeholder
placeholder
?:
string
Optional
read
Only
readOnly
?:
ConditionalProperty
Optional
rows
rows
?:
number
Optional
title
title
?:
string
type
type
:
"text"
Optional
validation
validation
?:
ValidationBuilder
<
TextRule
,
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
components
deprecated
description
hidden
icon
initial
Value
name
options
placeholder
read
Only
rows
title
type
validation
Sanity Library Reference Docs
Loading...
Hidden