npm run shadcn add button
Installation
Props
Prop | Type | Description | Default |
---|---|---|---|
className | string | The class name to be applied to the component | |
showMultiplePackageOptions | boolean | Whether to show options for multiple package managers | true |
codeLanguage | string | The language of the code snippet (e.g., "shell") | |
lightTheme | string | The theme to use for light mode | |
darkTheme | string | The theme to use for dark mode | |
commandMap | Record <string, string> | A map of package manager names to their respective commands |