npm run shadcn add button
Installation
Props
Prop | Type | Default | Description |
---|---|---|---|
className | string | - | The class name to be applied to the component |
showMultiplePackageOptions | boolean | true | Whether to show options for multiple package managers |
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 |