ref
is used to register a reference to an element or a child component.
Using Props Vallidation
to offer the default value to a component.
ref
is used to register a reference to an element or a child component.
Using Props Vallidation
to offer the default value to a component.