useFields

This hook is used to set state for multiple values in a dictionary. It returns 4 items - a getter, setter and the traditional object and a setter for the object. The first getter and setter are to read and write to individual properties.

Installation

import {useFields} from 'uxp/components';

Last updated