UNPKG

@mui/base

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.

14 lines (13 loc) 344 B
var defaultOptionStringifier = function defaultOptionStringifier(option) { var label = option.label, value = option.value; if (typeof label === 'string') { return label; } if (typeof value === 'string') { return value; } // Fallback string representation return String(option); }; export { defaultOptionStringifier };