Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / forms / input / config.ts
Size: Mime:
/**
 * @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)
  }
}