diff --git a/src/containers/Full/FullAside.js b/src/containers/Full/FullAside.js index e701fdd..77de818 100644 --- a/src/containers/Full/FullAside.js +++ b/src/containers/Full/FullAside.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import { Input, Label, Nav, NavItem, NavLink, Progress, TabContent, TabPane, ListGroup, ListGroupItem } from 'reactstrap'; import PropTypes from 'prop-types'; import classNames from 'classnames'; +import { AppSwitch } from '@coreui/react' const propTypes = { children: PropTypes.node, @@ -239,11 +240,7 @@ class FullAside extends Component {
Option 1 - +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod @@ -255,11 +252,7 @@ class FullAside extends Component {
Option 2 - +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod @@ -271,22 +264,17 @@ class FullAside extends Component {
Option 3 - + +
+ Option disabled. +
Option 4 - +
diff --git a/src/views/Base/Cards/Cards.js b/src/views/Base/Cards/Cards.js index 25d0310..4a894b6 100644 --- a/src/views/Base/Cards/Cards.js +++ b/src/views/Base/Cards/Cards.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import { Badge, Card, CardBody, CardFooter, CardHeader, Col, Input, Label, Row, Collapse, Fade } from 'reactstrap'; +import { AppSwitch } from '@coreui/react' class Cards extends Component { constructor(props) { @@ -64,11 +65,7 @@ class Cards extends Component { Card with switch - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut diff --git a/src/views/Base/Switches/Switches.js b/src/views/Base/Switches/Switches.js index 4e3dc73..6de680a 100644 --- a/src/views/Base/Switches/Switches.js +++ b/src/views/Base/Switches/Switches.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import { Card, CardBody, CardHeader, Col, Input, Label, Row, Table } from 'reactstrap'; +import { AppSwitch } from '@coreui/react' class Switches extends Component { render() { @@ -7,137 +8,184 @@ class Switches extends Component {
- + 3d Switch - -     - -     - -     - -     - -     - + + + + + + + + + + + + + + + + 3d Switch disabled + + + + + + + + + + + + + + + 3d Switch outline="alt" + + + + + + + + + + + + + + + + + + 3d Switch label + + + + + + + + + + + + + + + + + + 3d Switch outline label + + + + + + + + + + + + + + + + + + 3d Switch outline={'alt'} label + + + + + + + + + + + + + + + + + + 3d Switch outline label + + + + + + + + + + + + + + + + + + 3d Switch outline={'alt'} label + + + + + + + + + + + + + + Switch default - -     - -     - -     - -     - -     - + + + + + + + + + - - Switch default - pills + Switch pills - -     - -     - -     - -     - -     - + + + + + + + + + @@ -148,131 +196,51 @@ class Switches extends Component { Switch outline - -     - -     - -     - -     - -     - + + + + + + + + + - - Switch outline - pills + Switch outline pills - -     - -     - -     - -     - -     - + + + + + + + + + - Switch outline alternative - -     - -     - -     - -     - -     - + + + + + + + + + @@ -283,41 +251,15 @@ class Switches extends Component { Switch outline alternative - pills - -     - -     - -     - -     - -     - + + + + + + + + + @@ -328,178 +270,105 @@ class Switches extends Component { Switch with text - -     - -     - -     - -     - -     - + + + + + + + + + - - Switch with text - pills + Switch with text pills - -     - -     - -     - -     - -     - + + + + + + + + + - Switch with text outline - - -     - -     - -     - -     - -     - + + + + + + + + + - - Switch with text outline - pills + Switch with text outline pills - - -     - -     - -     - -     - -     - + + + + + + + + + + + + + + + + Switch with text outline alternative pills + + + + + + + + + + + + + + + + + + Switch with text outline alternative pills + + + + + + + + + + + @@ -510,41 +379,33 @@ class Switches extends Component { Switch with text outline alternative - -     - -     - -     - -     - -     - + + + + + + + + + + + + + + + + Switch with text outline alternative pills + + + + + + + + + + + @@ -552,44 +413,36 @@ class Switches extends Component { - Switch with text outline alternative - pills + Switch with text outline alternative - -     - -     - -     - -     - -     - + + + + + + + + + + + + + + + + Switch with text outline alternative pills + + + + + + + + + + + @@ -605,7 +458,7 @@ class Switches extends Component { Size Example - CSS Class + Props @@ -614,14 +467,10 @@ class Switches extends Component { Large - + - Add following class .switch-lg + Add size={'lg'} @@ -629,11 +478,7 @@ class Switches extends Component { Normal - + - @@ -644,14 +489,10 @@ class Switches extends Component { Small - + - Add following class .switch-sm + Add size={'sm'}