chore(module): add JSDoc for options

This commit is contained in:
Benjamin Canac
2024-06-05 15:53:05 +02:00
parent 88eb4cac97
commit 2de38b317b

View File

@@ -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[]
}