Interface

TimecodeFieldRootProps

Props for the compact inline timecode editing root.

Signature

Type Definition
Interface TimecodeFieldRootProps

Properties

NameSignatureDescription
ariaLabelariaLabel: stringHuman-readable name used for default trigger and input labels.
children?children?: ReactNodeField parts. Defaults to the compact trigger plus the temporary editing input.
defaultEditing?defaultEditing?: booleanInitial editing state when uncontrolled.
disabled?disabled?: booleanDisables trigger activation and cancels active editing when true.
duration?duration?: number | RationalTimeDuration used to size fixed-width display slots. Defaults to the current value.
editing?editing?: booleanControlled editing state.
formatOptions?formatOptions?: TimecodeFormatOptionsFormatting options used for the trigger text and draft value when editing starts.
onCommit(seconds: number, details: TimecodeFieldCommitDetails): void | Promise<void>Called when the user commits valid timecode text.
onEditingChange?(editing: boolean): voidCalled when the field requests an editing state change.
parseOptions?parseOptions?: TimecodeParseOptionsParsing options used for draft validation and commit.
timebase?timebase?: numberTick rate used for `details.time`. Defaults to the value rate, or `60000` for seconds.
valuevalue: number | RationalTimeCurrent field value as seconds or `RationalTime`.
valueLabel?valueLabel?: stringOptional label used in trigger accessibility text instead of the formatted value.