UNPKG

@xyo-network/react-node

Version:

Common React library for all XYO projects that use React

11 lines (9 loc) 262 B
import type { ModuleFromNodeConfig } from './ModuleFromNodeConfig.ts' export const getModuleFilterOptions = (config?: ModuleFromNodeConfig) => { const { direction, identity, maxDepth, } = config ?? {} return { direction, identity, maxDepth, } }