mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(module): add JSDoc for options
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user