"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceI18nProvider",t="Internationalization context provider.",o="utility",r="1.0.0",i="stable",c=[{name:"children",type:"React.ReactNode",required:!0,description:"Provider children"},{name:"locale",type:"string",default:"'en'",description:"Current locale"},{name:"messages",type:"Record<string, Record<string, string>>",required:!0,description:"Translation messages"},{name:"defaultLocale",type:"string",default:"'en'",description:"Fallback locale"},{name:"onError",type:"(error: Error) => void",description:"Error handler"}],s=[{title:"I18n Provider",description:"Internationalization setup",code:`<NiceI18nProvider
  locale={currentLocale}
  messages={{
    en: { greeting: 'Hello', farewell: 'Goodbye' },
    pl: { greeting: 'Cześć', farewell: 'Do widzenia' }
  }}
  defaultLocale="en"
>
  <App />
</NiceI18nProvider>`}],a={keyboard:[],aria:["Language change announcement"]},l=["NiceConfigProvider","NiceLocaleSelector"],d={$schema:e,name:n,description:t,category:o,since:r,status:i,props:c,examples:s,accessibility:a,seeAlso:l};exports.$schema=e;exports.accessibility=a;exports.category=o;exports.default=d;exports.description=t;exports.examples=s;exports.name=n;exports.props=c;exports.seeAlso=l;exports.since=r;exports.status=i;
