import{jsx as o}from"react/jsx-runtime";import{SimpleSelect as n}from"../common/Select/index.js";import{styled as i}from"../../styled-components.js";const m=i.span`
  margin-left: 4px;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  color: var(--text-color-primary);
`;function p({Label:r=m,Select:e=n,...t}){return t.options.length===1?o(r,{children:t.options[0].value}):o(e,{...t})}export{p as SelectOrLabel};
