import React, {FC, PropsWithChildren} from "react"; import {SelectOptionRenderersContext} from "./FieldContexts"; import classNames from "classnames"; export type SelectOptionRenderersProps = { } const renderers = [ { type: 'hierarchy', render: (values: string[]) => { return
{values.map((label, index) => { const isLast = index + 1 === values.length; return <> {label} {!isLast && } })}
} } ] export const SelectOptionRenderers: FC = ({children}) => { return {children} }