import { render } from "./render"; import type { FCWithImplicitChildren } from "./types"; import { _memo, _shallowFn } from "./utils"; /** * If no `` have its condition evaluates to true inside the parent ``, * the first `` will be the only one rendered. * @param props The props to pass down to the `` component */ export const DefaultFn: FCWithImplicitChildren = (props) => render(props); DefaultFn.defaultProps = { children: null }; export const Default: FCWithImplicitChildren = _memo(DefaultFn, _shallowFn);