Files
payload/test/fields/collections/Collapsible/CustomLabel/getCustomLabel.tsx
2024-03-21 12:06:32 -04:00

16 lines
299 B
TypeScript

import React from 'react'
import { CustomLabelComponent } from './index.js'
export const getCustomLabel = ({
fallback,
path,
style,
}: {
fallback?: string
path: string
style: React.CSSProperties
}) => {
return <CustomLabelComponent fallback={fallback} path={path} style={style} />
}