Input File Resource
@Composable
DHIS2 Input File Resource. Wraps DHIS · InputShell.
Parameters
title
: controls the text to be shown for the title.
button Text
: text to be used for action button.
file Name
: text to be used for file name.
file Weight
: text to be used for file weight.
on Select File
: callback for when user wants to download file.
on Upload File
: callback for user to upload file.
on Clear
: callback for user to delete file.
input Shell State
: Manages the InputShell state.
supporting Text
: is a list of SupportingTextData that manages all the messages to be shown.
legend Data
: manages the legendComponent.
input Style
: manages the InputShell style.
modifier
: allows a modifier to be passed externally.
is Required
: whether the field is required or not.