/**
 * @license lucide-solid v0.572.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */

'use strict';

/**
 * Check if a component has an accessibility prop
 *
 * @param {object} props
 * @returns {boolean} Whether the component has an accessibility prop
 */
const hasA11yProp = props => {
  for (const prop in props) {
    if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {
      return true;
    }
  }
  return false;
};

exports.hasA11yProp = hasA11yProp;
//# sourceMappingURL=hasA11yProp.js.map
