coreui-vue icon indicating copy to clipboard operation
coreui-vue copied to clipboard

Add the `as` property in the `CHeader` component to use semantic tag

Open cesargb opened this issue 1 year ago • 0 comments

The component CHeader write the tag div, with this custom property we can use header tag

<CHeader> ... </CHeader>
// Out put: <div class="header"> ... </div>

<CHeader as="header"> ... </CHeader>
// Out put: <header class="header"> ... </header>

cesargb avatar May 31 '24 11:05 cesargb