How to get useOperation?
import useOperation from 'fontoxml-fx/src/useOperation.js'
A React hook which allows you to get the context for an operation based on the provided operationName and operationData. Additionally this hook provides you with an executeOperation function.
The operationName to retrieve the context for. Defaults to 'do-nothing' if falsy.
Type: OperationData | NULL
The operationData to pass to the operation.