Skip to content

Commit 82e3ce6

Browse files
committed
feat(CNav): add underline-border variant
1 parent e033a66 commit 82e3ce6

File tree

2 files changed

+5
-1
lines changed
  • packages

2 files changed

+5
-1
lines changed

packages/coreui-react/src/components/nav/CNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ CNav.propTypes = {
4949
className: PropTypes.string,
5050
component: PropTypes.elementType,
5151
layout: PropTypes.oneOf(['fill', 'justified']),
52-
variant: PropTypes.oneOf(['pills', 'tabs', 'underline']),
52+
variant: PropTypes.oneOf(['pills', 'tabs', 'underline', 'underline-border']),
5353
}
5454

5555
CNav.displayName = 'CNav'

packages/docs/content/migration/v5.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ CoreUI for React is the React.js version of CoreUI components library, so before
2727
### CCloseButton
2828

2929
- Deprecated property `white`, use `dark` instead of.
30+
31+
### CNav
32+
33+
- The `underline` variant has been changed to `underline-border`

0 commit comments

Comments
 (0)