3 lines
970 B
JavaScript
3 lines
970 B
JavaScript
import{j as e}from"./jsx-runtime-D_zvdyIk.js";function a({romaji:s,japanese:i,placeholder:r,verified:t}){return t?e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("span",{className:"text-foreground font-medium",children:s}),i&&e.jsxs("span",{className:"text-muted-foreground text-sm",children:["(",i,")"]})]}):e.jsx("span",{className:"text-muted-foreground/60 italic text-sm",children:r})}a.__docgenInfo={description:`Displays a bilingual value with both romaji and Japanese text.
|
|
Shows placeholder when not verified.`,methods:[],displayName:"BilingualValue",props:{romaji:{required:!0,tsType:{name:"string"},description:"Romanized (English) value"},japanese:{required:!1,tsType:{name:"string"},description:"Japanese value (optional)"},placeholder:{required:!0,tsType:{name:"string"},description:"Placeholder text when not verified"},verified:{required:!0,tsType:{name:"boolean"},description:"Whether the address has been verified"}}};export{a as B};
|