Preparing search index...
@universe-dg/sdk
Universe
Platform
Uikit
FileProps
Interface FileProps
Public
interface
FileProps
{
errorMessage
?:
string
;
fileName
:
string
;
fileNameRenderer
?:
(
defaultRenderer
:
()
=>
ReactNode
)
=>
ReactNode
;
hasError
?:
boolean
;
iconName
?:
IconName
;
isBoldName
?:
boolean
;
isDownloadDisabled
?:
boolean
;
isRemoveDisabled
?:
boolean
;
isSingleLine
?:
boolean
;
isWide
?:
boolean
;
onDownload
?:
(
fileName
:
string
)
=>
void
;
onRemove
?:
(
fileName
:
string
)
=>
void
;
renderDeleteButton
?:
(
props
:
{
handleRemove
:
()
=>
void
}
)
=>
ReactNode
;
showRemove
?:
boolean
;
}
Index
Properties
error
Message?
file
Name
file
Name
Renderer?
has
Error?
icon
Name?
is
Bold
Name?
is
Download
Disabled?
is
Remove
Disabled?
is
Single
Line?
is
Wide?
on
Download?
on
Remove?
render
Delete
Button?
show
Remove?
Properties
Optional
error
Message
errorMessage
?:
string
file
Name
fileName
:
string
Optional
file
Name
Renderer
fileNameRenderer
?:
(
defaultRenderer
:
()
=>
ReactNode
)
=>
ReactNode
Optional
has
Error
hasError
?:
boolean
Optional
icon
Name
iconName
?:
IconName
Optional
is
Bold
Name
isBoldName
?:
boolean
Optional
is
Download
Disabled
isDownloadDisabled
?:
boolean
Optional
is
Remove
Disabled
isRemoveDisabled
?:
boolean
Deprecated
Для управления состоянием кнопки следует использовать пропс
renderDeleteButton
Optional
is
Single
Line
isSingleLine
?:
boolean
Optional
is
Wide
isWide
?:
boolean
Optional
on
Download
onDownload
?:
(
fileName
:
string
)
=>
void
Optional
on
Remove
onRemove
?:
(
fileName
:
string
)
=>
void
Optional
render
Delete
Button
renderDeleteButton
?:
(
props
:
{
handleRemove
:
()
=>
void
}
)
=>
ReactNode
Optional
show
Remove
showRemove
?:
boolean
On This Page
Properties
error
Message
file
Name
file
Name
Renderer
has
Error
icon
Name
is
Bold
Name
is
Download
Disabled
is
Remove
Disabled
is
Single
Line
is
Wide
on
Download
on
Remove
render
Delete
Button
show
Remove
Юниверс DG SDK UI
Loading...
Public