import { DEFAULT_LABELKEY } from '../constants' ; import type { LabelKey } from '../types' ; export default function getStringLabelKey ( labelKey ) { return typeof labelKey === 'string' ? labelKey : DEFAULT_LABELKEY ; }