UNPKG

@furystack/shades

Version:

A lightweight UI framework for FuryStack with JSX support

9 lines 326 B
/** * Discriminates {@link ShadeComponent} from intrinsic-element tag names. * Intentionally permissive — any function is treated as a component since * VNodes carry no other discriminator. */ export const isShadeComponent = (obj) => { return typeof obj === 'function'; }; //# sourceMappingURL=shade-component.js.map