UNPKG

@base-ui/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

9 lines 212 B
export function stringifyLocale(locale) { if (Array.isArray(locale)) { return locale.map(value => stringifyLocale(value)).join(','); } if (locale == null) { return ''; } return String(locale); }