OutputInputcomponent

OutputInput({ title, placeholder, children = title, ...props }: OutputInputProps): ReactElement
ParamType
propsOutputInputProps
Props for OutputInput, a read-only <output> styled to match form inputs. required
Return
ReactElement
An <output> element styled like an input.

Show static read-only content styled as an input, falling back to placeholder when empty.

Examples

<OutputInput title="Status">Active</OutputInput>