import { Typography } from '../../common'; import Money from '../../Money/Money'; import Title from '../../Title/Title'; import Display from '../Display'; import { createSandboxStory, globalScope, } from '../../../.storybook/components/sandbox/SandboxEditor'; export default { title: 'Typography/Display', component: Display, }; export const Sandbox = createSandboxStory({ code: ` The world's most international account `, scope: globalScope, }); export const Basic = () => { const EN = 'compounding without subscription compounding without subscription'; // Made for hyphenation testing const DE = 'äöüßabcdefghijklmnopqrstuvwxyz'; const UA = 'Ми будуємо найбільш міжнародний рахунок у світі'; const JA = 'ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてで'; const ZN = '的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年样能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去最性性齉龘龘靐齉爩鱻猋驫麤籲爨癵驫鲙鬯鬻厵纛'; return ( <>

🇬🇧

Large {EN}
Medium {EN}
Small {EN}

Languages with special symbols, e.g 🇩🇪

Large {DE}
{DE}

Medium {DE}
{DE}

Small {DE}
{DE}

Greek + Cyrillic languages, e.g 🇺🇦

Large {UA}
{UA}

Medium {UA}
{UA}

Small {UA}
{UA}

Japanese

Large {JA}
Medium {JA}
Small {JA}

Simplified Chinese

Large {ZN}
Medium {ZN}
Small {ZN}
); }; export const Numbers = () => { return ( <>
Display Number Small
Display Number Medium
Display Number Large
Display Number (Deprecated)
); };