We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d382f82 commit 658dbe4Copy full SHA for 658dbe4
website/src/pages/index.mdx
@@ -321,7 +321,7 @@ type TranslationKey = `translation.${LocaleKeyPages}.${string}`; // Type Transla
321
const homeTitle: TranslationKey = 'translation.home.title';
322
323
// ❌ Avoid
324
-const color = 'blue-450'; // Type 'string' - Since color 'blue-450' doesn't exist and results in runtime error
+const color = 'blue-450'; // Type 'string' - Color 'blue-450' doesn't exist, leading to a runtime error.
325
// ✅ Use
326
type BaseColor = 'blue' | 'red' | 'yellow' | 'gray';
327
type Variant = 50 | 100 | 200 | 300 | 400;
0 commit comments