refactor: migrate part of components to CoreUI v4
This commit is contained in:
parent
9d5ba97b4d
commit
d5ba135d18
31
migration.md
31
migration.md
@ -1,3 +1,34 @@
|
|||||||
|
# Migration from version 3
|
||||||
|
|
||||||
|
## Badges
|
||||||
|
|
||||||
|
- variant="pill" --> shape="rounded-pill"
|
||||||
|
- variant="square" --> shape="rounded-0"
|
||||||
|
|
||||||
|
## List Group
|
||||||
|
|
||||||
|
- Depracated prop `action` Use `component="a"` or `component="b"` instead of `action`.
|
||||||
|
|
||||||
|
## Modal
|
||||||
|
|
||||||
|
- Depracated prop `show` Use `visible` instead of.
|
||||||
|
|
||||||
|
## Popover
|
||||||
|
|
||||||
|
- Depracated prop `header` Use `title` instead of.
|
||||||
|
|
||||||
|
## Progress Bar
|
||||||
|
|
||||||
|
- Depracated prop `precision`
|
||||||
|
- Depracated prop `showLabel`
|
||||||
|
- Depracated prop `showPercentage`
|
||||||
|
- Depracated prop `showValue`
|
||||||
|
|
||||||
|
## Tabs
|
||||||
|
|
||||||
|
- Deprecated component `<CTabs>` use `<CNav variant="tabs">` without wrapper component `<CTabs>`
|
||||||
|
|
||||||
|
|
||||||
# Migration from version 2
|
# Migration from version 2
|
||||||
|
|
||||||
Migration from version 2 must be performed manually because the components library `@coreui/coreui-react` has been completely rewritten.
|
Migration from version 2 must be performed manually because the components library `@coreui/coreui-react` has been completely rewritten.
|
||||||
|
@ -6,10 +6,10 @@ import {
|
|||||||
CCard,
|
CCard,
|
||||||
CCardBody,
|
CCardBody,
|
||||||
CCardHeader,
|
CCardHeader,
|
||||||
CLink,
|
|
||||||
CCol,
|
CCol,
|
||||||
CRow
|
CRow,
|
||||||
} from '@coreui/react'
|
CLink
|
||||||
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
import routes from '../../../routes'
|
import routes from '../../../routes'
|
||||||
|
|
||||||
@ -28,31 +28,31 @@ const Breadcrumbs = () => {
|
|||||||
<h6>Manual</h6>
|
<h6>Manual</h6>
|
||||||
<CBreadcrumb>
|
<CBreadcrumb>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Home</CLink>
|
<CLink href="#">Home</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem active>Library</CBreadcrumbItem>
|
<CBreadcrumbItem active>Library</CBreadcrumbItem>
|
||||||
</CBreadcrumb>
|
</CBreadcrumb>
|
||||||
<CBreadcrumb>
|
<CBreadcrumb>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Home</CLink>
|
<CLink href="#">Home</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Library</CLink>
|
<CLink href="#">Library</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem active>Data</CBreadcrumbItem>
|
<CBreadcrumbItem active>Data</CBreadcrumbItem>
|
||||||
</CBreadcrumb>
|
</CBreadcrumb>
|
||||||
<CBreadcrumb>
|
<CBreadcrumb>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Home</CLink>
|
<CLink href="#">Home</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Library</CLink>
|
<CLink href="#">Library</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem>
|
<CBreadcrumbItem>
|
||||||
<CLink>Data</CLink>
|
<CLink href="#">Data</CLink>
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
<CBreadcrumbItem active>
|
<CBreadcrumbItem active>
|
||||||
<span>Bootstrap</span>
|
Bootstrap
|
||||||
</CBreadcrumbItem>
|
</CBreadcrumbItem>
|
||||||
</CBreadcrumb>
|
</CBreadcrumb>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
|
@ -8,10 +8,9 @@ import {
|
|||||||
CCol,
|
CCol,
|
||||||
CRow,
|
CRow,
|
||||||
CCollapse,
|
CCollapse,
|
||||||
CFade,
|
|
||||||
CSwitch,
|
|
||||||
CLink
|
CLink
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
|
import { CFade, CSwitch } from '@coreui/react'
|
||||||
import CIcon from '@coreui/icons-react'
|
import CIcon from '@coreui/icons-react'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
CCol,
|
CCol,
|
||||||
CCollapse,
|
CCollapse,
|
||||||
CFade,
|
CFade,
|
||||||
CRow
|
CRow
|
||||||
} from '@coreui/react';
|
} from '@coreui/react';
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ const Collapses = () => {
|
|||||||
Both</CButton>{' '}
|
Both</CButton>{' '}
|
||||||
</p>
|
</p>
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCollapse show={collapseMulti[0]}>
|
<CCollapse show={collapseMulti[0]}>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
@ -148,10 +148,10 @@ const Collapses = () => {
|
|||||||
<div id="accordion">
|
<div id="accordion">
|
||||||
<CCard className="mb-0">
|
<CCard className="mb-0">
|
||||||
<CCardHeader id="headingOne">
|
<CCardHeader id="headingOne">
|
||||||
<CButton
|
<CButton
|
||||||
block
|
block
|
||||||
color="link"
|
color="link"
|
||||||
className="text-left m-0 p-0"
|
className="text-left m-0 p-0"
|
||||||
onClick={() => setAccordion(accordion === 0 ? null : 0)}
|
onClick={() => setAccordion(accordion === 0 ? null : 0)}
|
||||||
>
|
>
|
||||||
<h5 className="m-0 p-0">Collapsible Group Item #1</h5>
|
<h5 className="m-0 p-0">Collapsible Group Item #1</h5>
|
||||||
@ -169,10 +169,10 @@ const Collapses = () => {
|
|||||||
</CCard>
|
</CCard>
|
||||||
<CCard className="mb-0">
|
<CCard className="mb-0">
|
||||||
<CCardHeader id="headingTwo">
|
<CCardHeader id="headingTwo">
|
||||||
<CButton
|
<CButton
|
||||||
block
|
block
|
||||||
color="link"
|
color="link"
|
||||||
className="text-left m-0 p-0"
|
className="text-left m-0 p-0"
|
||||||
onClick={() => setAccordion(accordion === 1 ? null : 1)}
|
onClick={() => setAccordion(accordion === 1 ? null : 1)}
|
||||||
>
|
>
|
||||||
<h5 className="m-0 p-0">Collapsible Group Item #2</h5>
|
<h5 className="m-0 p-0">Collapsible Group Item #2</h5>
|
||||||
@ -190,10 +190,10 @@ const Collapses = () => {
|
|||||||
</CCard>
|
</CCard>
|
||||||
<CCard className="mb-0">
|
<CCard className="mb-0">
|
||||||
<CCardHeader id="headingThree">
|
<CCardHeader id="headingThree">
|
||||||
<CButton
|
<CButton
|
||||||
block
|
block
|
||||||
color="link"
|
color="link"
|
||||||
className="text-left m-0 p-0"
|
className="text-left m-0 p-0"
|
||||||
onClick={() => setAccordion(accordion === 2 ? null : 2)}
|
onClick={() => setAccordion(accordion === 2 ? null : 2)}
|
||||||
>
|
>
|
||||||
<h5 className="m-0 p-0">Collapsible Group Item #3</h5>
|
<h5 className="m-0 p-0">Collapsible Group Item #3</h5>
|
||||||
|
@ -18,7 +18,7 @@ const Jumbotrons = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Jumbotron
|
Jumbotron
|
||||||
@ -38,7 +38,7 @@ const Jumbotrons = () => {
|
|||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Jumbotron
|
Jumbotron
|
||||||
@ -56,7 +56,7 @@ const Jumbotrons = () => {
|
|||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Embed
|
Embed
|
||||||
|
@ -10,7 +10,7 @@ import {
|
|||||||
CRow,
|
CRow,
|
||||||
CTabContent,
|
CTabContent,
|
||||||
CTabPane
|
CTabPane
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
|
|
||||||
@ -91,15 +91,15 @@ const ListGroups = () => {
|
|||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CListGroup>
|
<CListGroup>
|
||||||
<CListGroupItem action>Dapibus ac facilisis in</CListGroupItem>
|
<CListGroupItem component="button">Dapibus ac facilisis in</CListGroupItem>
|
||||||
<CListGroupItem action color="primary">This is a primary list group item</CListGroupItem>
|
<CListGroupItem component="button" color="primary">This is a primary list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="secondary">This is a secondary list group item</CListGroupItem>
|
<CListGroupItem component="button" color="secondary">This is a secondary list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="success">This is a success list group item</CListGroupItem>
|
<CListGroupItem component="button" color="success">This is a success list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="danger">This is a danger list group item</CListGroupItem>
|
<CListGroupItem component="button" color="danger">This is a danger list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="warning">This is a warning list group item</CListGroupItem>
|
<CListGroupItem component="button" color="warning">This is a warning list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="info">This is a info list group item</CListGroupItem>
|
<CListGroupItem component="button" color="info">This is a info list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="light">This is a light list group item</CListGroupItem>
|
<CListGroupItem component="button" color="light">This is a light list group item</CListGroupItem>
|
||||||
<CListGroupItem action color="dark">This is a dark list group item</CListGroupItem>
|
<CListGroupItem component="button" color="dark">This is a dark list group item</CListGroupItem>
|
||||||
</CListGroup>
|
</CListGroup>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
@ -184,7 +184,7 @@ const ListGroups = () => {
|
|||||||
<CCardBody>
|
<CCardBody>
|
||||||
|
|
||||||
<CListGroup>
|
<CListGroup>
|
||||||
<CListGroupItem action active>
|
<CListGroupItem component="a" active>
|
||||||
<h5 className="d-flex w-100 justify-content-between">
|
<h5 className="d-flex w-100 justify-content-between">
|
||||||
List group item heading
|
List group item heading
|
||||||
<small>3 days ago</small>
|
<small>3 days ago</small>
|
||||||
@ -194,14 +194,14 @@ const ListGroups = () => {
|
|||||||
<small>Donec id elit non mi porta.</small>
|
<small>Donec id elit non mi porta.</small>
|
||||||
</div>
|
</div>
|
||||||
</CListGroupItem>
|
</CListGroupItem>
|
||||||
<CListGroupItem action>
|
<CListGroupItem component="a">
|
||||||
<h5>List group item heading</h5>
|
<h5>List group item heading</h5>
|
||||||
<div>
|
<div>
|
||||||
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
|
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
|
||||||
</div>
|
</div>
|
||||||
<small>Small.</small>
|
<small>Small.</small>
|
||||||
</CListGroupItem>
|
</CListGroupItem>
|
||||||
<CListGroupItem action>
|
<CListGroupItem component="a">
|
||||||
<h5>List group item heading</h5>
|
<h5>List group item heading</h5>
|
||||||
<div>
|
<div>
|
||||||
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
|
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
|
||||||
@ -215,7 +215,7 @@ const ListGroups = () => {
|
|||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
List group
|
List group
|
||||||
@ -225,34 +225,34 @@ const ListGroups = () => {
|
|||||||
<CRow>
|
<CRow>
|
||||||
<CCol xs="4">
|
<CCol xs="4">
|
||||||
<CListGroup id="list-tab" role="tablist">
|
<CListGroup id="list-tab" role="tablist">
|
||||||
<CListGroupItem onClick={() => setActiveTab(0)} action active={activeTab === 0} >Home</CListGroupItem>
|
<CListGroupItem onClick={() => setActiveTab(0)} component="button" active={activeTab === 0} >Home</CListGroupItem>
|
||||||
<CListGroupItem onClick={() => setActiveTab(1)} action active={activeTab === 1} >Profile</CListGroupItem>
|
<CListGroupItem onClick={() => setActiveTab(1)} component="button" active={activeTab === 1} >Profile</CListGroupItem>
|
||||||
<CListGroupItem onClick={() => setActiveTab(2)} action active={activeTab === 2} >Messages</CListGroupItem>
|
<CListGroupItem onClick={() => setActiveTab(2)} component="button" active={activeTab === 2} >Messages</CListGroupItem>
|
||||||
<CListGroupItem onClick={() => setActiveTab(3)} action active={activeTab === 3} >Settings</CListGroupItem>
|
<CListGroupItem onClick={() => setActiveTab(3)} component="button" active={activeTab === 3} >Settings</CListGroupItem>
|
||||||
</CListGroup>
|
</CListGroup>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol xs="8">
|
<CCol xs="8">
|
||||||
<CTabContent>
|
<CTabContent>
|
||||||
<CTabPane active={activeTab === 0} >
|
<CTabPane visible={activeTab === 0} >
|
||||||
<p>Velit aute mollit ipsum ad dolor consectetur nulla officia culpa adipisicing exercitation fugiat tempor. Voluptate deserunt sit sunt
|
<p>Velit aute mollit ipsum ad dolor consectetur nulla officia culpa adipisicing exercitation fugiat tempor. Voluptate deserunt sit sunt
|
||||||
nisi aliqua fugiat proident ea ut. Mollit voluptate reprehenderit occaecat nisi ad non minim
|
nisi aliqua fugiat proident ea ut. Mollit voluptate reprehenderit occaecat nisi ad non minim
|
||||||
tempor sunt voluptate consectetur exercitation id ut nulla. Ea et fugiat aliquip nostrud sunt incididunt consectetur culpa aliquip
|
tempor sunt voluptate consectetur exercitation id ut nulla. Ea et fugiat aliquip nostrud sunt incididunt consectetur culpa aliquip
|
||||||
eiusmod dolor. Anim ad Lorem aliqua in cupidatat nisi enim eu nostrud do aliquip veniam minim.</p>
|
eiusmod dolor. Anim ad Lorem aliqua in cupidatat nisi enim eu nostrud do aliquip veniam minim.</p>
|
||||||
</CTabPane>
|
</CTabPane>
|
||||||
<CTabPane active={activeTab === 1}>
|
<CTabPane visible={activeTab === 1}>
|
||||||
<p>Cupidatat quis ad sint excepteur laborum in esse qui. Et excepteur consectetur ex nisi eu do cillum ad laborum. Mollit et eu officia
|
<p>Cupidatat quis ad sint excepteur laborum in esse qui. Et excepteur consectetur ex nisi eu do cillum ad laborum. Mollit et eu officia
|
||||||
dolore sunt Lorem culpa qui commodo velit ex amet id ex. Officia anim incididunt laboris deserunt
|
dolore sunt Lorem culpa qui commodo velit ex amet id ex. Officia anim incididunt laboris deserunt
|
||||||
anim aute dolor incididunt veniam aute dolore do exercitation. Dolor nisi culpa ex ad irure in elit eu dolore. Ad laboris ipsum
|
anim aute dolor incididunt veniam aute dolore do exercitation. Dolor nisi culpa ex ad irure in elit eu dolore. Ad laboris ipsum
|
||||||
reprehenderit irure non commodo enim culpa commodo veniam incididunt veniam ad.</p>
|
reprehenderit irure non commodo enim culpa commodo veniam incididunt veniam ad.</p>
|
||||||
</CTabPane>
|
</CTabPane>
|
||||||
<CTabPane active={activeTab === 2}>
|
<CTabPane visible={activeTab === 2}>
|
||||||
<p>Ut ut do pariatur aliquip aliqua aliquip exercitation do nostrud commodo reprehenderit aute ipsum voluptate. Irure Lorem et laboris
|
<p>Ut ut do pariatur aliquip aliqua aliquip exercitation do nostrud commodo reprehenderit aute ipsum voluptate. Irure Lorem et laboris
|
||||||
nostrud amet cupidatat cupidatat anim do ut velit mollit consequat enim tempor. Consectetur
|
nostrud amet cupidatat cupidatat anim do ut velit mollit consequat enim tempor. Consectetur
|
||||||
est minim nostrud nostrud consectetur irure labore voluptate irure. Ipsum id Lorem sit sint voluptate est pariatur eu ad cupidatat et
|
est minim nostrud nostrud consectetur irure labore voluptate irure. Ipsum id Lorem sit sint voluptate est pariatur eu ad cupidatat et
|
||||||
deserunt culpa sit eiusmod deserunt. Consectetur et fugiat anim do eiusmod aliquip nulla
|
deserunt culpa sit eiusmod deserunt. Consectetur et fugiat anim do eiusmod aliquip nulla
|
||||||
laborum elit adipisicing pariatur cillum.</p>
|
laborum elit adipisicing pariatur cillum.</p>
|
||||||
</CTabPane>
|
</CTabPane>
|
||||||
<CTabPane active={activeTab === 3}>
|
<CTabPane visible={activeTab === 3}>
|
||||||
<p>Irure enim occaecat labore sit qui aliquip reprehenderit amet velit. Deserunt ullamco ex elit nostrud ut dolore nisi officia magna
|
<p>Irure enim occaecat labore sit qui aliquip reprehenderit amet velit. Deserunt ullamco ex elit nostrud ut dolore nisi officia magna
|
||||||
sit occaecat laboris sunt dolor. Nisi eu minim cillum occaecat aute est cupidatat aliqua labore
|
sit occaecat laboris sunt dolor. Nisi eu minim cillum occaecat aute est cupidatat aliqua labore
|
||||||
aute occaecat ea aliquip sunt amet. Aute mollit dolor ut exercitation irure commodo non amet consectetur quis amet culpa. Quis ullamco
|
aute occaecat ea aliquip sunt amet. Aute mollit dolor ut exercitation irure commodo non amet consectetur quis amet culpa. Quis ullamco
|
||||||
|
@ -12,7 +12,7 @@ import {
|
|||||||
CNav,
|
CNav,
|
||||||
CNavItem,
|
CNavItem,
|
||||||
CNavLink
|
CNavLink
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const Navs = () => {
|
const Navs = () => {
|
||||||
@ -244,8 +244,8 @@ const Navs = () => {
|
|||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink active>Link</CNavLink>
|
<CNavLink active>Link</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CDropdown inNav>
|
<CDropdown variant="nav-item">
|
||||||
<CDropdownToggle caret>
|
<CDropdownToggle>
|
||||||
Dropdown
|
Dropdown
|
||||||
</CDropdownToggle>
|
</CDropdownToggle>
|
||||||
<CDropdownMenu>
|
<CDropdownMenu>
|
||||||
@ -278,8 +278,8 @@ const Navs = () => {
|
|||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink active>Link</CNavLink>
|
<CNavLink active>Link</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CDropdown inNav>
|
<CDropdown variant="nav-item">
|
||||||
<CDropdownToggle caret>
|
<CDropdownToggle>
|
||||||
Dropdown
|
Dropdown
|
||||||
</CDropdownToggle>
|
</CDropdownToggle>
|
||||||
<CDropdownMenu>
|
<CDropdownMenu>
|
||||||
|
@ -7,8 +7,8 @@ import {
|
|||||||
CPopover,
|
CPopover,
|
||||||
CRow,
|
CRow,
|
||||||
CCol,
|
CCol,
|
||||||
CLink
|
} from '@coreui/react-ts'
|
||||||
} from '@coreui/react'
|
import { CLink } from '@coreui/react'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const Popovers = () => {
|
const Popovers = () => {
|
||||||
@ -35,25 +35,25 @@ const Popovers = () => {
|
|||||||
|
|
||||||
<p className="muted">
|
<p className="muted">
|
||||||
Tight pants next level keffiyeh
|
Tight pants next level keffiyeh
|
||||||
<CPopover header="Popover header" content="Popover text">
|
<CPopover title="Popover header" content="Popover text">
|
||||||
<CLink> you probably </CLink>
|
<CLink> you probably </CLink>
|
||||||
</CPopover>
|
</CPopover>
|
||||||
haven't heard of them.
|
haven't heard of them.
|
||||||
Photo booth beard raw denim letterpress vegan messenger
|
Photo booth beard raw denim letterpress vegan messenger
|
||||||
bag stumptown. Farm-to-table seitan, mcsweeney's fixie
|
bag stumptown. Farm-to-table seitan, mcsweeney's fixie
|
||||||
sustainable quinoa 8-bit american apparel
|
sustainable quinoa 8-bit american apparel
|
||||||
<CPopover header="Popover header" content="Popover text">
|
<CPopover title="Popover header" content="Popover text">
|
||||||
<CLink> have a </CLink>
|
<CLink> have a </CLink>
|
||||||
</CPopover>
|
</CPopover>
|
||||||
terry richardson vinyl chambray. Beard stumptown,
|
terry richardson vinyl chambray. Beard stumptown,
|
||||||
cardigans banh mi lomo thundercats. Tofu biodiesel
|
cardigans banh mi lomo thundercats. Tofu biodiesel
|
||||||
williamsburg marfa, four loko mcsweeney''s cleanse
|
williamsburg marfa, four loko mcsweeney''s cleanse
|
||||||
vegan chambray. A really ironic artisan
|
vegan chambray. A really ironic artisan
|
||||||
<CPopover header="Popover header" content="Popover text">
|
<CPopover title="Popover header" content="Popover text">
|
||||||
<CLink> whatever keytar </CLink>
|
<CLink> whatever keytar </CLink>
|
||||||
</CPopover>
|
</CPopover>
|
||||||
scenester farm-to-table banksy Austin
|
scenester farm-to-table banksy Austin
|
||||||
<CPopover header="Popover header" content="Popover text">
|
<CPopover title="Popover header" content="Popover text">
|
||||||
<CLink> twitter handle </CLink>
|
<CLink> twitter handle </CLink>
|
||||||
</CPopover>
|
</CPopover>
|
||||||
|
|
||||||
@ -78,10 +78,9 @@ const Popovers = () => {
|
|||||||
className="py-4 text-center"
|
className="py-4 text-center"
|
||||||
key={placement}
|
key={placement}
|
||||||
>
|
>
|
||||||
<CPopover header="Popover header"
|
<CPopover title="Popover header"
|
||||||
content={`Popover with placement: ${placement}`}
|
content={`Popover with placement: ${placement}`}
|
||||||
placement={placement}
|
placement={placement}
|
||||||
interactive={true}
|
|
||||||
trigger="click"
|
trigger="click"
|
||||||
>
|
>
|
||||||
<CButton color="primary">
|
<CButton color="primary">
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
CCardHeader,
|
CCardHeader,
|
||||||
CProgress,
|
CProgress,
|
||||||
CProgressBar
|
CProgressBar
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const ProgressBar = () => {
|
const ProgressBar = () => {
|
||||||
@ -30,9 +30,9 @@ const ProgressBar = () => {
|
|||||||
<small> labels</small>
|
<small> labels</small>
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CProgress value={25.3746472} showPercentage precision={2} className="mb-3"/>
|
<CProgress value={25.3746472} className="mb-3"/>
|
||||||
<CProgress value={50.45} showValue className="mb-3"/>
|
<CProgress value={50.45} className="mb-3"/>
|
||||||
<CProgress value={15} max={20} showPercentage className="mb-3"/>
|
<CProgress value={15} max={20} className="mb-3"/>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
<CCard>
|
<CCard>
|
||||||
@ -41,8 +41,8 @@ const ProgressBar = () => {
|
|||||||
<small> heights</small>
|
<small> heights</small>
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CProgress value={25} className="mb-3" style={{height: "3px"}}/>
|
<CProgress value={25} className="mb-3" height="3"/>
|
||||||
<CProgress value={25} className="mb-3" style={{height: "30px"}}/>
|
<CProgress value={25} className="mb-3" height="30"/>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
<CCard>
|
<CCard>
|
||||||
|
@ -145,7 +145,7 @@ const Tables = () => {
|
|||||||
</CRow>
|
</CRow>
|
||||||
|
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Combined All Table
|
Combined All Table
|
||||||
@ -176,7 +176,7 @@ const Tables = () => {
|
|||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Combined All dark Table
|
Combined All dark Table
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import React, { useState } from 'react'
|
import React, { useState } from "react";
|
||||||
import {
|
import {
|
||||||
CCol,
|
CCol,
|
||||||
CNav,
|
CNav,
|
||||||
@ -9,15 +9,16 @@ import {
|
|||||||
CTabPane,
|
CTabPane,
|
||||||
CCard,
|
CCard,
|
||||||
CCardBody,
|
CCardBody,
|
||||||
CTabs,
|
CCardHeader,
|
||||||
CCardHeader
|
} from "@coreui/react-ts";
|
||||||
} from '@coreui/react'
|
import CIcon from "@coreui/icons-react";
|
||||||
import CIcon from '@coreui/icons-react'
|
import { DocsLink } from "src/reusable";
|
||||||
import { DocsLink } from 'src/reusable'
|
|
||||||
|
|
||||||
const Tabs = () => {
|
const Tabs = () => {
|
||||||
const [active, setActive] = useState(1)
|
const [activeKey, setActiveKey] = useState(1)
|
||||||
const lorem = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.'
|
const [active, setActive] = useState(1);
|
||||||
|
const lorem =
|
||||||
|
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CRow>
|
<CRow>
|
||||||
@ -25,76 +26,48 @@ const Tabs = () => {
|
|||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Index indentifiers
|
Index indentifiers
|
||||||
<DocsLink name="CTabs"/>
|
<DocsLink name="CTabs" />
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CTabs>
|
<CNav variant="tabs">
|
||||||
<CNav variant="tabs">
|
<CNavItem>
|
||||||
<CNavItem>
|
<CNavLink active={activeKey === 1} onClick={() => setActiveKey(1)}>Home</CNavLink>
|
||||||
<CNavLink>
|
</CNavItem>
|
||||||
Home
|
<CNavItem>
|
||||||
</CNavLink>
|
<CNavLink active={activeKey === 2} onClick={() => setActiveKey(2)}>Profile</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink>
|
<CNavLink active={activeKey === 3} onClick={() => setActiveKey(3)}>Messages</CNavLink>
|
||||||
Profile
|
</CNavItem>
|
||||||
</CNavLink>
|
</CNav>
|
||||||
</CNavItem>
|
<CTabContent>
|
||||||
<CNavItem>
|
<CTabPane visible={activeKey === 1}>{`1. ${lorem}`}</CTabPane>
|
||||||
<CNavLink>
|
<CTabPane visible={activeKey === 2}>{`2. ${lorem}`}</CTabPane>
|
||||||
Messages
|
<CTabPane visible={activeKey === 3}>{`3. ${lorem}`}</CTabPane>
|
||||||
</CNavLink>
|
</CTabContent>
|
||||||
</CNavItem>
|
|
||||||
</CNav>
|
|
||||||
<CTabContent>
|
|
||||||
<CTabPane>
|
|
||||||
{`1. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
<CTabPane>
|
|
||||||
{`2. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
<CTabPane>
|
|
||||||
{`3. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
</CTabContent>
|
|
||||||
</CTabs>
|
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol xs="12" md="6" className="mb-4">
|
{/* <CCol xs="12" md="6" className="mb-4">
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>Id indentifiers</CCardHeader>
|
||||||
Id indentifiers
|
|
||||||
</CCardHeader>
|
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CTabs activeTab="home">
|
<CTabs activeTab="home">
|
||||||
<CNav variant="tabs">
|
<CNav variant="tabs">
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink data-tab="home">
|
<CNavLink data-tab="home">Home</CNavLink>
|
||||||
Home
|
|
||||||
</CNavLink>
|
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink data-tab="profile">
|
<CNavLink data-tab="profile">Profile</CNavLink>
|
||||||
Profile
|
|
||||||
</CNavLink>
|
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink data-tab="messages">
|
<CNavLink data-tab="messages">Messages</CNavLink>
|
||||||
Messages
|
|
||||||
</CNavLink>
|
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
</CNav>
|
</CNav>
|
||||||
<CTabContent>
|
<CTabContent>
|
||||||
<CTabPane data-tab="home">
|
<CTabPane data-tab="home">{`1. ${lorem}`}</CTabPane>
|
||||||
{`1. ${lorem}`}
|
<CTabPane data-tab="profile">{`2. ${lorem}`}</CTabPane>
|
||||||
</CTabPane>
|
<CTabPane data-tab="messages">{`3. ${lorem}`}</CTabPane>
|
||||||
<CTabPane data-tab="profile">
|
|
||||||
{`2. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
<CTabPane data-tab="messages">
|
|
||||||
{`3. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
</CTabContent>
|
</CTabContent>
|
||||||
</CTabs>
|
</CTabs>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
@ -103,9 +76,7 @@ const Tabs = () => {
|
|||||||
|
|
||||||
<CCol xs="12" md="6" className="mb-4">
|
<CCol xs="12" md="6" className="mb-4">
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>No fade animation tabs</CCardHeader>
|
||||||
No fade animation tabs
|
|
||||||
</CCardHeader>
|
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CTabs>
|
<CTabs>
|
||||||
<CNav variant="tabs">
|
<CNav variant="tabs">
|
||||||
@ -121,20 +92,14 @@ const Tabs = () => {
|
|||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink>
|
<CNavLink>
|
||||||
<CIcon name="cil-chart-pie"/>
|
<CIcon name="cil-chart-pie" />
|
||||||
</CNavLink>
|
</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
</CNav>
|
</CNav>
|
||||||
<CTabContent fade={false}>
|
<CTabContent fade={false}>
|
||||||
<CTabPane>
|
<CTabPane>{`1. ${lorem}`}</CTabPane>
|
||||||
{`1. ${lorem}`}
|
<CTabPane>{`2. ${lorem}`}</CTabPane>
|
||||||
</CTabPane>
|
<CTabPane>{`3. ${lorem}`}</CTabPane>
|
||||||
<CTabPane>
|
|
||||||
{`2. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
<CTabPane>
|
|
||||||
{`3. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
</CTabContent>
|
</CTabContent>
|
||||||
</CTabs>
|
</CTabs>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
@ -143,48 +108,43 @@ const Tabs = () => {
|
|||||||
|
|
||||||
<CCol xs="12" md="6" className="mb-4">
|
<CCol xs="12" md="6" className="mb-4">
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>Controlled tabs</CCardHeader>
|
||||||
Controlled tabs
|
|
||||||
</CCardHeader>
|
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CTabs activeTab={active} onActiveTabChange={idx => setActive(idx)}>
|
<CTabs
|
||||||
|
activeTab={active}
|
||||||
|
onActiveTabChange={(idx) => setActive(idx)}
|
||||||
|
>
|
||||||
<CNav variant="tabs">
|
<CNav variant="tabs">
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink>
|
<CNavLink>
|
||||||
<CIcon name="cil-calculator" />
|
<CIcon name="cil-calculator" />
|
||||||
{ active === 0 && ' Home'}
|
{active === 0 && " Home"}
|
||||||
</CNavLink>
|
</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink>
|
<CNavLink>
|
||||||
<CIcon name="cil-basket" />
|
<CIcon name="cil-basket" />
|
||||||
{ active === 1 && ' Profile'}
|
{active === 1 && " Profile"}
|
||||||
</CNavLink>
|
</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
<CNavItem>
|
<CNavItem>
|
||||||
<CNavLink>
|
<CNavLink>
|
||||||
<CIcon name="cil-chart-pie"/>
|
<CIcon name="cil-chart-pie" />
|
||||||
{ active === 2 && ' Messages'}
|
{active === 2 && " Messages"}
|
||||||
</CNavLink>
|
</CNavLink>
|
||||||
</CNavItem>
|
</CNavItem>
|
||||||
</CNav>
|
</CNav>
|
||||||
<CTabContent>
|
<CTabContent>
|
||||||
<CTabPane>
|
<CTabPane>{`1. ${lorem}`}</CTabPane>
|
||||||
{`1. ${lorem}`}
|
<CTabPane>{`2. ${lorem}`}</CTabPane>
|
||||||
</CTabPane>
|
<CTabPane>{`3. ${lorem}`}</CTabPane>
|
||||||
<CTabPane>
|
|
||||||
{`2. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
<CTabPane>
|
|
||||||
{`3. ${lorem}`}
|
|
||||||
</CTabPane>
|
|
||||||
</CTabContent>
|
</CTabContent>
|
||||||
</CTabs>
|
</CTabs>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol> */}
|
||||||
</CRow>
|
</CRow>
|
||||||
)
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
export default Tabs
|
export default Tabs;
|
||||||
|
@ -7,6 +7,8 @@ import {
|
|||||||
CTooltip,
|
CTooltip,
|
||||||
CRow,
|
CRow,
|
||||||
CCol,
|
CCol,
|
||||||
|
} from '@coreui/react-ts'
|
||||||
|
import {
|
||||||
CLink
|
CLink
|
||||||
} from '@coreui/react'
|
} from '@coreui/react'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
@ -3,7 +3,6 @@ import {
|
|||||||
CButton,
|
CButton,
|
||||||
CDropdown,
|
CDropdown,
|
||||||
CButtonGroup,
|
CButtonGroup,
|
||||||
CButtonToolbar,
|
|
||||||
CCard,
|
CCard,
|
||||||
CCardBody,
|
CCardBody,
|
||||||
CCardHeader,
|
CCardHeader,
|
||||||
@ -11,11 +10,14 @@ import {
|
|||||||
CDropdownItem,
|
CDropdownItem,
|
||||||
CDropdownMenu,
|
CDropdownMenu,
|
||||||
CDropdownToggle,
|
CDropdownToggle,
|
||||||
|
CRow,
|
||||||
|
} from '@coreui/react-ts'
|
||||||
|
import {
|
||||||
|
CButtonToolbar,
|
||||||
CInput,
|
CInput,
|
||||||
CInputGroup,
|
CInputGroup,
|
||||||
CInputGroupPrepend,
|
CInputGroupPrepend,
|
||||||
CInputGroupText,
|
CInputGroupText,
|
||||||
CRow,
|
|
||||||
CCallout
|
CCallout
|
||||||
} from '@coreui/react'
|
} from '@coreui/react'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
CCardHeader,
|
CCardHeader,
|
||||||
CCol,
|
CCol,
|
||||||
CRow
|
CRow
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import CIcon from '@coreui/icons-react'
|
import CIcon from '@coreui/icons-react'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
@ -24,31 +24,31 @@ const Buttons = () => {
|
|||||||
Normal
|
Normal
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="primary">Primary</CButton>
|
<CButton href="#" color="primary">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="secondary">Secondary</CButton>
|
<CButton color="secondary">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="success">Success</CButton>
|
<CButton color="success">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="warning">Warning</CButton>
|
<CButton color="warning">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="danger">Danger</CButton>
|
<CButton color="danger">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="info">Info</CButton>
|
<CButton color="info">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="light">Light</CButton>
|
<CButton color="light">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="dark">Dark</CButton>
|
<CButton color="dark">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="link">Link</CButton>
|
<CButton color="link">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -56,31 +56,31 @@ const Buttons = () => {
|
|||||||
Active State
|
Active State
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="primary" aria-pressed="true">Primary</CButton>
|
<CButton active color="primary" aria-pressed="true">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="secondary" aria-pressed="true">Secondary</CButton>
|
<CButton active color="secondary" aria-pressed="true">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="success" aria-pressed="true">Success</CButton>
|
<CButton active color="success" aria-pressed="true">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="warning" aria-pressed="true">Warning</CButton>
|
<CButton active color="warning" aria-pressed="true">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="danger" aria-pressed="true">Danger</CButton>
|
<CButton active color="danger" aria-pressed="true">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="info" aria-pressed="true">Info</CButton>
|
<CButton active color="info" aria-pressed="true">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="light" aria-pressed="true">Light</CButton>
|
<CButton active color="light" aria-pressed="true">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="dark" aria-pressed="true">Dark</CButton>
|
<CButton active color="dark" aria-pressed="true">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block color="link" aria-pressed="true">Link</CButton>
|
<CButton active color="link" aria-pressed="true">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -88,38 +88,38 @@ const Buttons = () => {
|
|||||||
Disabled
|
Disabled
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="primary" disabled>Primary</CButton>
|
<CButton color="primary" disabled>Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="secondary" disabled>Secondary</CButton>
|
<CButton color="secondary" disabled>Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="success" disabled>Success</CButton>
|
<CButton color="success" disabled>Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="warning" disabled>Warning</CButton>
|
<CButton color="warning" disabled>Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="danger" disabled>Danger</CButton>
|
<CButton color="danger" disabled>Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="info" disabled>Info</CButton>
|
<CButton color="info" disabled>Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="light" disabled>Light</CButton>
|
<CButton color="light" disabled>Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="dark" disabled>Dark</CButton>
|
<CButton color="dark" disabled>Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block color="link" disabled>Link</CButton>
|
<CButton color="link" disabled>Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
variant="outline" Buttons
|
layout="outline" Buttons
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<p>
|
<p>
|
||||||
@ -130,28 +130,28 @@ const Buttons = () => {
|
|||||||
Normal
|
Normal
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="primary">Primary</CButton>
|
<CButton layout="outline" color="primary">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="secondary">Secondary</CButton>
|
<CButton layout="outline" color="secondary">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="success">Success</CButton>
|
<CButton layout="outline" color="success">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="warning">Warning</CButton>
|
<CButton layout="outline" color="warning">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="danger">Danger</CButton>
|
<CButton layout="outline" color="danger">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="info">Info</CButton>
|
<CButton layout="outline" color="info">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="light">Light</CButton>
|
<CButton layout="outline" color="light">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="dark">Dark</CButton>
|
<CButton layout="outline" color="dark">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -160,28 +160,28 @@ const Buttons = () => {
|
|||||||
Active State
|
Active State
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="primary" aria-pressed="true">Primary</CButton>
|
<CButton layout="outline" active color="primary" aria-pressed="true">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="secondary" aria-pressed="true">Secondary</CButton>
|
<CButton layout="outline" active color="secondary" aria-pressed="true">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="success" aria-pressed="true">Success</CButton>
|
<CButton layout="outline" active color="success" aria-pressed="true">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="warning" aria-pressed="true">Warning</CButton>
|
<CButton layout="outline" active color="warning" aria-pressed="true">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="danger" aria-pressed="true">Danger</CButton>
|
<CButton layout="outline" active color="danger" aria-pressed="true">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="info" aria-pressed="true">Info</CButton>
|
<CButton layout="outline" active color="info" aria-pressed="true">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="light" aria-pressed="true">Light</CButton>
|
<CButton layout="outline" active color="light" aria-pressed="true">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" active color="dark" aria-pressed="true">Dark</CButton>
|
<CButton layout="outline" active color="dark" aria-pressed="true">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -190,28 +190,28 @@ const Buttons = () => {
|
|||||||
Disabled
|
Disabled
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="primary" disabled>Primary</CButton>
|
<CButton layout="outline" color="primary" disabled>Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="secondary" disabled>Secondary</CButton>
|
<CButton layout="outline" color="secondary" disabled>Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="success" disabled>Success</CButton>
|
<CButton layout="outline" color="success" disabled>Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="warning" disabled>Warning</CButton>
|
<CButton layout="outline" color="warning" disabled>Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="danger" disabled>Danger</CButton>
|
<CButton layout="outline" color="danger" disabled>Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="info" disabled>Info</CButton>
|
<CButton layout="outline" color="info" disabled>Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="light" disabled>Light</CButton>
|
<CButton layout="outline" color="light" disabled>Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="outline" color="dark" disabled>Dark</CButton>
|
<CButton layout="outline" color="dark" disabled>Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -219,39 +219,39 @@ const Buttons = () => {
|
|||||||
</CCard>
|
</CCard>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
variant="ghost" Buttons
|
layout="ghost" Buttons
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<p>
|
<p>
|
||||||
Use <code>.btn-ghost-*</code> class for variant="ghost" buttons.
|
Use <code>.btn-ghost-*</code> class for layout="ghost" buttons.
|
||||||
</p>
|
</p>
|
||||||
<CRow className="align-items-center">
|
<CRow className="align-items-center">
|
||||||
<CCol col="12" xl className="mb-3 mb-xl-0">
|
<CCol col="12" xl className="mb-3 mb-xl-0">
|
||||||
Normal
|
Normal
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="primary">Primary</CButton>
|
<CButton layout="ghost" color="primary">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="secondary">Secondary</CButton>
|
<CButton layout="ghost" color="secondary">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="success">Success</CButton>
|
<CButton layout="ghost" color="success">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="warning">Warning</CButton>
|
<CButton layout="ghost" color="warning">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="danger">Danger</CButton>
|
<CButton layout="ghost" color="danger">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="info">Info</CButton>
|
<CButton layout="ghost" color="info">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="light">Light</CButton>
|
<CButton layout="ghost" color="light">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="dark">Dark</CButton>
|
<CButton layout="ghost" color="dark">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -260,28 +260,28 @@ const Buttons = () => {
|
|||||||
Active State
|
Active State
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="primary" aria-pressed="true">Primary</CButton>
|
<CButton active layout="ghost" color="primary" aria-pressed="true">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="secondary" aria-pressed="true">Secondary</CButton>
|
<CButton active layout="ghost" color="secondary" aria-pressed="true">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="success" aria-pressed="true">Success</CButton>
|
<CButton active layout="ghost" color="success" aria-pressed="true">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="warning" aria-pressed="true">Warning</CButton>
|
<CButton active layout="ghost" color="warning" aria-pressed="true">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="danger" aria-pressed="true">Danger</CButton>
|
<CButton active layout="ghost" color="danger" aria-pressed="true">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="info" aria-pressed="true">Info</CButton>
|
<CButton active layout="ghost" color="info" aria-pressed="true">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="light" aria-pressed="true">Light</CButton>
|
<CButton active layout="ghost" color="light" aria-pressed="true">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block active variant="ghost" color="dark" aria-pressed="true">Dark</CButton>
|
<CButton active layout="ghost" color="dark" aria-pressed="true">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -290,28 +290,28 @@ const Buttons = () => {
|
|||||||
Disabled
|
Disabled
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="primary" disabled>Primary</CButton>
|
<CButton layout="ghost" color="primary" disabled>Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="secondary" disabled>Secondary</CButton>
|
<CButton layout="ghost" color="secondary" disabled>Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="success" disabled>Success</CButton>
|
<CButton layout="ghost" color="success" disabled>Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="warning" disabled>Warning</CButton>
|
<CButton layout="ghost" color="warning" disabled>Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="danger" disabled>Danger</CButton>
|
<CButton layout="ghost" color="danger" disabled>Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="info" disabled>Info</CButton>
|
<CButton layout="ghost" color="info" disabled>Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="light" disabled>Light</CButton>
|
<CButton layout="ghost" color="light" disabled>Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block variant="ghost" color="dark" disabled>Dark</CButton>
|
<CButton layout="ghost" color="dark" disabled>Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0"></CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
@ -330,31 +330,31 @@ const Buttons = () => {
|
|||||||
Normal
|
Normal
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="primary">Primary</CButton>
|
<CButton shape="square" color="primary">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="secondary">Secondary</CButton>
|
<CButton shape="square" color="secondary">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="success">Success</CButton>
|
<CButton shape="square" color="success">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="warning">Warning</CButton>
|
<CButton shape="square" color="warning">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="danger">Danger</CButton>
|
<CButton shape="square" color="danger">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="info">Info</CButton>
|
<CButton shape="square" color="info">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="light">Light</CButton>
|
<CButton shape="square" color="light">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="dark">Dark</CButton>
|
<CButton shape="square" color="dark">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="link">Link</CButton>
|
<CButton shape="square" color="link">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -362,31 +362,31 @@ const Buttons = () => {
|
|||||||
Active State
|
Active State
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="primary" aria-pressed="true">Primary</CButton>
|
<CButton active shape="square" color="primary" aria-pressed="true">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="secondary" aria-pressed="true">Secondary</CButton>
|
<CButton active shape="square" color="secondary" aria-pressed="true">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="success" aria-pressed="true">Success</CButton>
|
<CButton active shape="square" color="success" aria-pressed="true">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="warning" aria-pressed="true">Warning</CButton>
|
<CButton active shape="square" color="warning" aria-pressed="true">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="danger" aria-pressed="true">Danger</CButton>
|
<CButton active shape="square" color="danger" aria-pressed="true">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="info" aria-pressed="true">Info</CButton>
|
<CButton active shape="square" color="info" aria-pressed="true">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="light" aria-pressed="true">Light</CButton>
|
<CButton active shape="square" color="light" aria-pressed="true">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="dark" aria-pressed="true">Dark</CButton>
|
<CButton active shape="square" color="dark" aria-pressed="true">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="square" color="link" aria-pressed="true">Link</CButton>
|
<CButton active shape="square" color="link" aria-pressed="true">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -394,31 +394,31 @@ const Buttons = () => {
|
|||||||
Disabled
|
Disabled
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="primary" disabled>Primary</CButton>
|
<CButton shape="square" color="primary" disabled>Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="secondary" disabled>Secondary</CButton>
|
<CButton shape="square" color="secondary" disabled>Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="success" disabled>Success</CButton>
|
<CButton shape="square" color="success" disabled>Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="warning" disabled>Warning</CButton>
|
<CButton shape="square" color="warning" disabled>Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="danger" disabled>Danger</CButton>
|
<CButton shape="square" color="danger" disabled>Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="info" disabled>Info</CButton>
|
<CButton shape="square" color="info" disabled>Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="light" disabled>Light</CButton>
|
<CButton shape="square" color="light" disabled>Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="dark" disabled>Dark</CButton>
|
<CButton shape="square" color="dark" disabled>Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="square" color="link" disabled>Link</CButton>
|
<CButton shape="square" color="link" disabled>Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
@ -436,31 +436,31 @@ const Buttons = () => {
|
|||||||
Normal
|
Normal
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="primary" className="">Primary</CButton>
|
<CButton shape="pill" color="primary">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="secondary">Secondary</CButton>
|
<CButton shape="pill" color="secondary">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="success">Success</CButton>
|
<CButton shape="pill" color="success">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="warning">Warning</CButton>
|
<CButton shape="pill" color="warning">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="danger">Danger</CButton>
|
<CButton shape="pill" color="danger">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="info">Info</CButton>
|
<CButton shape="pill" color="info">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="light">Light</CButton>
|
<CButton shape="pill" color="light">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="dark">Dark</CButton>
|
<CButton shape="pill" color="dark">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="link">Link</CButton>
|
<CButton shape="pill" color="link">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -468,31 +468,31 @@ const Buttons = () => {
|
|||||||
Active State
|
Active State
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="primary" aria-pressed="true">Primary</CButton>
|
<CButton active shape="pill" color="primary" aria-pressed="true">Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="secondary" aria-pressed="true">Secondary</CButton>
|
<CButton active shape="pill" color="secondary" aria-pressed="true">Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="success" aria-pressed="true">Success</CButton>
|
<CButton active shape="pill" color="success" aria-pressed="true">Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="warning" aria-pressed="true">Warning</CButton>
|
<CButton active shape="pill" color="warning" aria-pressed="true">Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="danger" aria-pressed="true">Danger</CButton>
|
<CButton active shape="pill" color="danger" aria-pressed="true">Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="info" aria-pressed="true">Info</CButton>
|
<CButton active shape="pill" color="info" aria-pressed="true">Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="light" aria-pressed="true">Light</CButton>
|
<CButton active shape="pill" color="light" aria-pressed="true">Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="dark" aria-pressed="true">Dark</CButton>
|
<CButton active shape="pill" color="dark" aria-pressed="true">Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton active block shape="pill" color="link" aria-pressed="true">Link</CButton>
|
<CButton active shape="pill" color="link" aria-pressed="true">Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
<CRow className="align-items-center mt-3">
|
<CRow className="align-items-center mt-3">
|
||||||
@ -500,31 +500,31 @@ const Buttons = () => {
|
|||||||
Disabled
|
Disabled
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="primary" disabled>Primary</CButton>
|
<CButton shape="pill" color="primary" disabled>Primary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="secondary" disabled>Secondary</CButton>
|
<CButton shape="pill" color="secondary" disabled>Secondary</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="success" disabled>Success</CButton>
|
<CButton shape="pill" color="success" disabled>Success</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="warning" disabled>Warning</CButton>
|
<CButton shape="pill" color="warning" disabled>Warning</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="danger" disabled>Danger</CButton>
|
<CButton shape="pill" color="danger" disabled>Danger</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="info" disabled>Info</CButton>
|
<CButton shape="pill" color="info" disabled>Info</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="light" disabled>Light</CButton>
|
<CButton shape="pill" color="light" disabled>Light</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="dark" disabled>Dark</CButton>
|
<CButton shape="pill" color="dark" disabled>Dark</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
<CCol col="6" sm="4" md="2" xl className="mb-3 mb-xl-0">
|
||||||
<CButton block shape="pill" color="link" disabled>Link</CButton>
|
<CButton shape="pill" color="link" disabled>Link</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
</CRow>
|
</CRow>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
@ -544,10 +544,10 @@ const Buttons = () => {
|
|||||||
<CButton color="primary" size="sm">Standard Button</CButton>
|
<CButton color="primary" size="sm">Standard Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton color="secondary" variant="outline" size="sm">Outline Button</CButton>
|
<CButton color="secondary" layout="outline" size="sm">Outline Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton size="sm" variant="ghost" color="ghost">Ghost Button</CButton>
|
<CButton size="sm" layout="ghost" color="ghost">Ghost Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton shape="square" color="warning" size="sm">Square Button</CButton>
|
<CButton shape="square" color="warning" size="sm">Square Button</CButton>
|
||||||
@ -564,10 +564,10 @@ const Buttons = () => {
|
|||||||
<CButton color="primary">Standard Button</CButton>
|
<CButton color="primary">Standard Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton variant="outline" color="secondary" >Outline Button</CButton>
|
<CButton layout="outline" color="secondary" >Outline Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton variant="ghost" color="success">Ghost Button</CButton>
|
<CButton layout="ghost" color="success">Ghost Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton shape="square" color="warning">Square Button</CButton>
|
<CButton shape="square" color="warning">Square Button</CButton>
|
||||||
@ -584,10 +584,10 @@ const Buttons = () => {
|
|||||||
<CButton color="primary" size="lg">Standard Button</CButton>
|
<CButton color="primary" size="lg">Standard Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2"className="mb-3 mb-xl-0 text-center">
|
<CCol col="2"className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton variant="outline" color="secondary" size="lg">Outline Button</CButton>
|
<CButton layout="outline" color="secondary" size="lg">Outline Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton variant="ghost" color="success" size="lg">Ghost Button</CButton>
|
<CButton layout="ghost" color="success" size="lg">Ghost Button</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
<CCol col="2" className="mb-3 mb-xl-0 text-center">
|
||||||
<CButton shape="square" color="warning" size="lg">Square Button</CButton>
|
<CButton shape="square" color="warning" size="lg">Square Button</CButton>
|
||||||
@ -611,12 +611,12 @@ const Buttons = () => {
|
|||||||
</CButton>
|
</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="text-center mt-3">
|
<CCol col="2" className="text-center mt-3">
|
||||||
<CButton color="secondary" variant='outline'>
|
<CButton color="secondary" layout='outline'>
|
||||||
<CIcon name="cil-lightbulb" />Outline Button
|
<CIcon name="cil-lightbulb" />Outline Button
|
||||||
</CButton>
|
</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol col="2" className="text-center mt-3">
|
<CCol col="2" className="text-center mt-3">
|
||||||
<CButton variant="ghost" color="success">
|
<CButton layout="ghost" color="success">
|
||||||
<CIcon name="cil-lightbulb" />Ghost Button
|
<CIcon name="cil-lightbulb" />Ghost Button
|
||||||
</CButton>
|
</CButton>
|
||||||
</CCol>
|
</CCol>
|
||||||
@ -637,34 +637,34 @@ const Buttons = () => {
|
|||||||
<CCol xs="12" md="6">
|
<CCol xs="12" md="6">
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Block Level Buttons
|
Level Buttons
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<p>Add prop <code>block</code></p>
|
<p>Add prop <code>block</code></p>
|
||||||
<CButton color="secondary" size="lg" block>Block level button</CButton>
|
<CButton color="secondary" size="lg">Block level button</CButton>
|
||||||
<CButton color="primary" size="lg" block>Block level button</CButton>
|
<CButton color="primary" size="lg">Block level button</CButton>
|
||||||
<CButton color="success" size="lg" block>Block level button</CButton>
|
<CButton color="success" size="lg">Block level button</CButton>
|
||||||
<CButton color="info" size="lg" block>Block level button</CButton>
|
<CButton color="info" size="lg">Block level button</CButton>
|
||||||
<CButton color="warning" size="lg" block>Block level button</CButton>
|
<CButton color="warning" size="lg">Block level button</CButton>
|
||||||
<CButton color="danger" size="lg" block>Block level button</CButton>
|
<CButton color="danger" size="lg">Block level button</CButton>
|
||||||
<CButton color="link" size="lg" block>Block level button</CButton>
|
<CButton color="link" size="lg">Block level button</CButton>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol xs="12" md="6">
|
<CCol xs="12" md="6">
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Block Level Buttons
|
Level Buttons
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<p>Add prop <code>block</code></p>
|
<p>Add prop <code>block</code></p>
|
||||||
<CButton variant="outline" color="secondary" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="secondary" size="lg">Block level button</CButton>
|
||||||
<CButton variant="outline" color="primary" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="primary" size="lg">Block level button</CButton>
|
||||||
<CButton variant="outline" color="success" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="success" size="lg">Block level button</CButton>
|
||||||
<CButton variant="outline" color="info" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="info" size="lg">Block level button</CButton>
|
||||||
<CButton variant="outline" color="warning" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="warning" size="lg">Block level button</CButton>
|
||||||
<CButton variant="outline" color="danger" size="lg" block>Block level button</CButton>
|
<CButton layout="outline" color="danger" size="lg">Block level button</CButton>
|
||||||
<CButton variant="ghost" color="info" size="lg" block>Block level button</CButton>
|
<CButton layout="ghost" color="info" size="lg">Block level button</CButton>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol>
|
||||||
|
@ -110,7 +110,7 @@ const Dashboard = () => {
|
|||||||
<WidgetsBrand withCharts/>
|
<WidgetsBrand withCharts/>
|
||||||
|
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Traffic {' & '} Sales
|
Traffic {' & '} Sales
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import {
|
||||||
|
CLink,
|
||||||
|
} from '@coreui/react'
|
||||||
import {
|
import {
|
||||||
CAlert,
|
CAlert,
|
||||||
|
CAlertHeading,
|
||||||
CButton,
|
CButton,
|
||||||
CCard,
|
CCard,
|
||||||
CCardBody,
|
CCardBody,
|
||||||
CCardHeader,
|
CCardHeader,
|
||||||
CCol,
|
CCol,
|
||||||
CLink,
|
|
||||||
CProgress,
|
CProgress,
|
||||||
CRow
|
CRow,
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const Alerts = () => {
|
const Alerts = () => {
|
||||||
@ -120,7 +123,7 @@ const Alerts = () => {
|
|||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CAlert color="success">
|
<CAlert color="success">
|
||||||
<h4 className="alert-heading">Well done!</h4>
|
<CAlertHeading>Well done!</CAlertHeading>
|
||||||
<p>
|
<p>
|
||||||
Aww yeah, you successfully read this important alert message. This example text is going
|
Aww yeah, you successfully read this important alert message. This example text is going
|
||||||
to run a bit longer so that you can see how spacing within an alert works with this kind
|
to run a bit longer so that you can see how spacing within an alert works with this kind
|
||||||
@ -143,7 +146,7 @@ const Alerts = () => {
|
|||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CAlert
|
<CAlert
|
||||||
color="info"
|
color="info"
|
||||||
closeButton
|
dismissible
|
||||||
>
|
>
|
||||||
I am an dismissible alert!
|
I am an dismissible alert!
|
||||||
</CAlert>
|
</CAlert>
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {
|
import {
|
||||||
CBadge,
|
|
||||||
CButton,
|
CButton,
|
||||||
CCard,
|
CCard,
|
||||||
CCardBody,
|
CCardBody,
|
||||||
CCardFooter,
|
CCardFooter,
|
||||||
CCardHeader,
|
CCardHeader,
|
||||||
CCol,
|
CCol,
|
||||||
|
CBadge,
|
||||||
CRow
|
CRow
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const Badges = () => {
|
const Badges = () => {
|
||||||
@ -58,30 +58,30 @@ const Badges = () => {
|
|||||||
<small> pill badges</small>
|
<small> pill badges</small>
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CBadge className="mr-1" color="primary" shape="pill">Primary</CBadge>
|
<CBadge className="mr-1" color="primary" shape="rounded-pill">Primary</CBadge>
|
||||||
<CBadge className="mr-1" color="secondary" shape="pill">Secondary</CBadge>
|
<CBadge className="mr-1" color="secondary" shape="rounded-pill">Secondary</CBadge>
|
||||||
<CBadge className="mr-1" color="success" shape="pill">Success</CBadge>
|
<CBadge className="mr-1" color="success" shape="rounded-pill">Success</CBadge>
|
||||||
<CBadge className="mr-1" color="danger" shape="pill">Danger</CBadge>
|
<CBadge className="mr-1" color="danger" shape="rounded-pill">Danger</CBadge>
|
||||||
<CBadge className="mr-1" color="warning" shape="pill">Warning</CBadge>
|
<CBadge className="mr-1" color="warning" shape="rounded-pill">Warning</CBadge>
|
||||||
<CBadge className="mr-1" color="info" shape="pill">Info</CBadge>
|
<CBadge className="mr-1" color="info" shape="rounded-pill">Info</CBadge>
|
||||||
<CBadge className="mr-1" color="light" shape="pill">Light</CBadge>
|
<CBadge className="mr-1" color="light" shape="rounded-pill">Light</CBadge>
|
||||||
<CBadge className="mr-1" color="dark" shape="pill">Dark</CBadge>
|
<CBadge className="mr-1" color="dark" shape="rounded-pill">Dark</CBadge>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Badges
|
Badges
|
||||||
<small> links</small>
|
<small> square badges</small>
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CBadge className="mr-1" href="#" color="primary">Primary</CBadge>
|
<CBadge className="mr-1" color="primary" shape="rounded-0">Primary</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="secondary">Secondary</CBadge>
|
<CBadge className="mr-1" color="secondary" shape="rounded-0">Secondary</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="success">Success</CBadge>
|
<CBadge className="mr-1" color="success" shape="rounded-0">Success</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="danger">Danger</CBadge>
|
<CBadge className="mr-1" color="danger" shape="rounded-0">Danger</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="warning">Warning</CBadge>
|
<CBadge className="mr-1" color="warning" shape="rounded-0">Warning</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="info">Info</CBadge>
|
<CBadge className="mr-1" color="info" shape="rounded-0">Info</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="light">Light</CBadge>
|
<CBadge className="mr-1" color="light" shape="rounded-0">Light</CBadge>
|
||||||
<CBadge className="mr-1" href="#" color="dark" shape="pill">Dark</CBadge>
|
<CBadge className="mr-1" color="dark" shape="rounded-0">Dark</CBadge>
|
||||||
</CCardBody>
|
</CCardBody>
|
||||||
</CCard>
|
</CCard>
|
||||||
</CCol>
|
</CCol>
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
CModalHeader,
|
CModalHeader,
|
||||||
CModalTitle,
|
CModalTitle,
|
||||||
CRow
|
CRow
|
||||||
} from '@coreui/react'
|
} from '@coreui/react-ts'
|
||||||
import { DocsLink } from 'src/reusable'
|
import { DocsLink } from 'src/reusable'
|
||||||
|
|
||||||
const Modals = () => {
|
const Modals = () => {
|
||||||
@ -27,15 +27,15 @@ const Modals = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<CRow>
|
<CRow>
|
||||||
<CCol>
|
<CCol xs>
|
||||||
<CCard>
|
<CCard>
|
||||||
<CCardHeader>
|
<CCardHeader>
|
||||||
Bootstrap Modals
|
Bootstrap Modals
|
||||||
<DocsLink name="CModal"/>
|
<DocsLink name="CModal"/>
|
||||||
</CCardHeader>
|
</CCardHeader>
|
||||||
<CCardBody>
|
<CCardBody>
|
||||||
<CButton
|
<CButton
|
||||||
onClick={() => setModal(!modal)}
|
onClick={() => setModal(!modal)}
|
||||||
className="mr-1"
|
className="mr-1"
|
||||||
>Launch demo modal</CButton>
|
>Launch demo modal</CButton>
|
||||||
<CButton onClick={() => setLarge(!large)} className="mr-1">
|
<CButton onClick={() => setLarge(!large)} className="mr-1">
|
||||||
@ -44,8 +44,8 @@ const Modals = () => {
|
|||||||
<CButton onClick={() => setSmall(!large)} className="mr-1">
|
<CButton onClick={() => setSmall(!large)} className="mr-1">
|
||||||
Launch small modal
|
Launch small modal
|
||||||
</CButton>
|
</CButton>
|
||||||
<CModal
|
<CModal
|
||||||
show={modal}
|
visible={modal}
|
||||||
onClose={setModal}
|
onClose={setModal}
|
||||||
>
|
>
|
||||||
<CModalHeader closeButton>
|
<CModalHeader closeButton>
|
||||||
@ -60,16 +60,16 @@ const Modals = () => {
|
|||||||
</CModalBody>
|
</CModalBody>
|
||||||
<CModalFooter>
|
<CModalFooter>
|
||||||
<CButton color="primary">Do Something</CButton>{' '}
|
<CButton color="primary">Do Something</CButton>{' '}
|
||||||
<CButton
|
<CButton
|
||||||
color="secondary"
|
color="secondary"
|
||||||
onClick={() => setModal(false)}
|
onClick={() => setModal(false)}
|
||||||
>Cancel</CButton>
|
>Cancel</CButton>
|
||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={large}
|
visible={large}
|
||||||
onClose={() => setLarge(!large)}
|
onClose={() => setLarge(!large)}
|
||||||
size="lg"
|
size="lg"
|
||||||
>
|
>
|
||||||
@ -89,8 +89,8 @@ const Modals = () => {
|
|||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={small}
|
visible={small}
|
||||||
onClose={() => setSmall(!small)}
|
onClose={() => setSmall(!small)}
|
||||||
size="sm"
|
size="sm"
|
||||||
>
|
>
|
||||||
@ -120,8 +120,8 @@ const Modals = () => {
|
|||||||
<CButton color="danger" onClick={() => setDanger(!danger)} className="mr-1">Danger modal</CButton>
|
<CButton color="danger" onClick={() => setDanger(!danger)} className="mr-1">Danger modal</CButton>
|
||||||
<CButton color="info" onClick={() => setInfo(!info)} className="mr-1">Info modal</CButton>
|
<CButton color="info" onClick={() => setInfo(!info)} className="mr-1">Info modal</CButton>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={primary}
|
visible={primary}
|
||||||
onClose={() => setPrimary(!primary)}
|
onClose={() => setPrimary(!primary)}
|
||||||
color="primary"
|
color="primary"
|
||||||
>
|
>
|
||||||
@ -145,8 +145,8 @@ const Modals = () => {
|
|||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={success}
|
visible={success}
|
||||||
onClose={() => setSuccess(!success)}
|
onClose={() => setSuccess(!success)}
|
||||||
color="success"
|
color="success"
|
||||||
>
|
>
|
||||||
@ -166,8 +166,8 @@ const Modals = () => {
|
|||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={warning}
|
visible={warning}
|
||||||
onClose={() => setWarning(!warning)}
|
onClose={() => setWarning(!warning)}
|
||||||
color="warning"
|
color="warning"
|
||||||
>
|
>
|
||||||
@ -187,8 +187,8 @@ const Modals = () => {
|
|||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={danger}
|
visible={danger}
|
||||||
onClose={() => setDanger(!danger)}
|
onClose={() => setDanger(!danger)}
|
||||||
color="danger"
|
color="danger"
|
||||||
>
|
>
|
||||||
@ -208,8 +208,8 @@ const Modals = () => {
|
|||||||
</CModalFooter>
|
</CModalFooter>
|
||||||
</CModal>
|
</CModal>
|
||||||
|
|
||||||
<CModal
|
<CModal
|
||||||
show={info}
|
visible={info}
|
||||||
onClose={() => setInfo(!info)}
|
onClose={() => setInfo(!info)}
|
||||||
color="info"
|
color="info"
|
||||||
>
|
>
|
||||||
|
@ -1,15 +1,19 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {
|
import {
|
||||||
CCardGroup,
|
|
||||||
CCardFooter,
|
CCardFooter,
|
||||||
CCol,
|
CCol,
|
||||||
CLink,
|
|
||||||
CRow,
|
CRow,
|
||||||
|
CProgress,
|
||||||
|
} from '@coreui/react'
|
||||||
|
|
||||||
|
import {
|
||||||
|
CCardGroup,
|
||||||
|
CLink,
|
||||||
CWidgetProgress,
|
CWidgetProgress,
|
||||||
CWidgetIcon,
|
CWidgetIcon,
|
||||||
CWidgetProgressIcon,
|
CWidgetProgressIcon,
|
||||||
CWidgetSimple,
|
CWidgetSimple,
|
||||||
CProgress,
|
|
||||||
} from '@coreui/react'
|
} from '@coreui/react'
|
||||||
import WidgetsBrand from './WidgetsBrand'
|
import WidgetsBrand from './WidgetsBrand'
|
||||||
import WidgetsDropdown from './WidgetsDropdown'
|
import WidgetsDropdown from './WidgetsDropdown'
|
||||||
@ -94,7 +98,7 @@ const Widgets = () => {
|
|||||||
<CWidgetIcon text="income" header="$1.999,50" color="danger" iconPadding={false}>
|
<CWidgetIcon text="income" header="$1.999,50" color="danger" iconPadding={false}>
|
||||||
<CIcon width={24} name="cil-bell"/>
|
<CIcon width={24} name="cil-bell"/>
|
||||||
</CWidgetIcon>
|
</CWidgetIcon>
|
||||||
|
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol xs="12" sm="6" lg="4">
|
<CCol xs="12" sm="6" lg="4">
|
||||||
<CWidgetIcon text="income" header="$1.999,50" color="primary" iconPadding={false}>
|
<CWidgetIcon text="income" header="$1.999,50" color="primary" iconPadding={false}>
|
||||||
@ -107,17 +111,17 @@ const Widgets = () => {
|
|||||||
</CWidgetIcon>
|
</CWidgetIcon>
|
||||||
</CCol>
|
</CCol>
|
||||||
<CCol xs="12" sm="6" lg="4">
|
<CCol xs="12" sm="6" lg="4">
|
||||||
<CWidgetIcon
|
<CWidgetIcon
|
||||||
text="income"
|
text="income"
|
||||||
header="$1.999,50"
|
header="$1.999,50"
|
||||||
color="warning"
|
color="warning"
|
||||||
iconPadding={false}
|
iconPadding={false}
|
||||||
footerSlot={
|
footerSlot={
|
||||||
<CCardFooter className="card-footer px-3 py-2">
|
<CCardFooter className="card-footer px-3 py-2">
|
||||||
<CLink
|
<CLink
|
||||||
className="font-weight-bold font-xs btn-block text-muted"
|
className="font-weight-bold font-xs btn-block text-muted"
|
||||||
href="https://coreui.io/"
|
href="https://coreui.io/"
|
||||||
rel="noopener norefferer"
|
rel="noopener norefferer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
View more
|
View more
|
||||||
|
Loading…
Reference in New Issue
Block a user