Skip to content

feat(CSidebar): add 'as' prop to CSidebar#421

Merged
mrholek merged 1 commit intocoreui:mainfrom
matt-jb:add-as-prop-to-sidebar
Dec 31, 2024
Merged

feat(CSidebar): add 'as' prop to CSidebar#421
mrholek merged 1 commit intocoreui:mainfrom
matt-jb:add-as-prop-to-sidebar

Conversation

@matt-jb
Copy link
Copy Markdown

@matt-jb matt-jb commented Dec 30, 2024

  • CSidebar has the added as prop in this PR. The default is div for backwards compatibility.
  • CHeader and CFooter will be rewritten in future versions, so haven't made any changes there.
  • CSidebarNav alread has an as prop.
  • As indicated by the issue author, CModal consideration is a separate issue.

Closes #416

@mrholek mrholek merged commit caa1007 into coreui:main Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Components like CHeader should render using proper HTML elements

2 participants