UNPKG

@mui/base

Version:

A library of headless ('unstyled') React UI components and low-level hooks.

23 lines (21 loc) 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; const defaultOptionStringifier = option => { const { label, value } = option; if (typeof label === 'string') { return label; } if (typeof value === 'string') { return value; } // Fallback string representation return String(option); }; var _default = defaultOptionStringifier; exports.default = _default;