From 2de38b317be24562678947ea20c70d001d8540a3 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 5 Jun 2024 15:53:05 +0200 Subject: [PATCH] chore(module): add JSDoc for options --- src/module.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/module.ts b/src/module.ts index 43e5fc16..98125e69 100644 --- a/src/module.ts +++ b/src/module.ts @@ -5,7 +5,15 @@ import { addTemplates } from './templates' import icons from './theme/icons' export interface ModuleOptions { + /** + * Prefix for components + * @defaultValue U + */ prefix?: string + /** + * Colors to generate classes for (based on TailwindCSS colors) + * @defaultValue ['primary', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchia', 'pink', 'rose'] + */ colors?: string[] }