Skip to content

Commit 7a36c97

Browse files
amarvintcbegley
andauthored
Fixes default button color in docs (#759)
* Fixes default button color in docs Docs for the `button` component (https://dash-bootstrap-components.opensource.faculty.ai/docs/components/button/) still show the default color as "secondary", although that changed to "primary" in Bootstrap5 and the migration guide (https://dash-bootstrap-components.opensource.faculty.ai/migration-guide/) shows that. * Fixes default color for DropdownMenu Co-authored-by: Tom Begley <tomcbegley@gmail.com>
1 parent aeae14e commit 7a36c97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/button/Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Button.propTypes = {
145145

146146
/**
147147
* Button color, options: primary, secondary, success, info, warning, danger,
148-
* link. Default: secondary.
148+
* link. Default: primary.
149149
*/
150150
color: PropTypes.string,
151151

src/components/dropdownmenu/DropdownMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ DropdownMenu.propTypes = {
204204
* Set the color of the DropdownMenu toggle. Available options are: 'primary',
205205
* 'secondary', 'success', 'warning', 'danger', 'info', 'link' or any valid CSS
206206
* color of your choice (e.g. a hex code, a decimal code or a CSS color name)
207-
* Default: 'secondary'
207+
* Default: 'primary'
208208
*/
209209
color: PropTypes.string,
210210

0 commit comments

Comments
 (0)