16 lines
299 B
TypeScript
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} />
|
|
}
|