Repository URL to install this package:
|
Version:
4.0.7 ▾
|
/**
* @note - the inputs were here, but the import order was causing circular issues
* in particular, in TextBox (which should be rewritten)
*/
import { InputChain } from './InputChain'
export const inputChains: InputChain[] = []
export function register(plugin: InputChain | InputChain[]): void {
if (Array.isArray(plugin)) {
plugin.forEach(register)
} else {
inputChains.push(plugin)
}
}