diff --git a/src/components/AppSidebar.js b/src/components/AppSidebar.js index 4d0c60036..156ae8014 100644 --- a/src/components/AppSidebar.js +++ b/src/components/AppSidebar.js @@ -30,7 +30,8 @@ const AppSidebar = () => { return ( { Some quick example text to build on the card title and make up the bulk of the card's content. - Go somewhere + + Go somewhere + @@ -235,7 +237,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -250,7 +254,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -278,7 +284,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + 2 days ago @@ -310,7 +318,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -321,7 +331,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -340,7 +352,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -349,7 +363,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -364,7 +380,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -390,7 +408,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -399,7 +419,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -408,7 +430,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -449,7 +473,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + @@ -477,7 +503,9 @@ const Cards = () => { With supporting text below as a natural lead-in to additional content. - Go somewhere + + Go somewhere + diff --git a/src/views/base/collapses/Collapses.js b/src/views/base/collapses/Collapses.js index 6f98a69cd..218518933 100644 --- a/src/views/base/collapses/Collapses.js +++ b/src/views/base/collapses/Collapses.js @@ -27,7 +27,9 @@ const Collapses = () => { > Link - setVisible(!visible)}>Button + setVisible(!visible)}> + Button + @@ -81,8 +83,12 @@ const Collapses = () => { A <CButton> can show and hide multiple elements.

- setVisibleA(!visibleA)}>Toggle first element - setVisibleB(!visibleB)}>Toggle second element + setVisibleA(!visibleA)}> + Toggle first element + + setVisibleB(!visibleB)}> + Toggle second element + { setVisibleA(!visibleA) diff --git a/src/views/base/jumbotrons/Jumbotrons.js b/src/views/base/jumbotrons/Jumbotrons.js index 560681367..18c9223b8 100644 --- a/src/views/base/jumbotrons/Jumbotrons.js +++ b/src/views/base/jumbotrons/Jumbotrons.js @@ -18,7 +18,9 @@ const Jumbotrons = () => { previous versions of Bootstrap. Check out the examples below for how you can remix and restyle it to your liking.

- Example button + + Example button + diff --git a/src/views/base/placeholders/Placeholders.js b/src/views/base/placeholders/Placeholders.js index 9639b168b..4f0e80f21 100644 --- a/src/views/base/placeholders/Placeholders.js +++ b/src/views/base/placeholders/Placeholders.js @@ -39,7 +39,9 @@ const Placeholders = () => { Some quick example text to build on the card title and make up the bulk of the card's content. - Go somewhere + + Go somewhere +
diff --git a/src/views/base/spinners/Spinners.js b/src/views/base/spinners/Spinners.js index 7347cf0c1..c3b927f54 100644 --- a/src/views/base/spinners/Spinners.js +++ b/src/views/base/spinners/Spinners.js @@ -93,19 +93,19 @@ const Accordion = () => { as needed.

- + - + - + - + diff --git a/src/views/forms/form-control/FormControl.js b/src/views/forms/form-control/FormControl.js index 5949a79ce..caea5f722 100644 --- a/src/views/forms/form-control/FormControl.js +++ b/src/views/forms/form-control/FormControl.js @@ -183,7 +183,7 @@ const FormControl = () => {
- + Confirm identity
diff --git a/src/views/forms/layout/Layout.js b/src/views/forms/layout/Layout.js index 9d2b21fd2..8fdc2a88c 100644 --- a/src/views/forms/layout/Layout.js +++ b/src/views/forms/layout/Layout.js @@ -102,7 +102,9 @@ const Layout = () => { - Sign in + + Sign in +
@@ -178,7 +180,9 @@ const Layout = () => { - Sign in + + Sign in + @@ -314,7 +318,9 @@ const Layout = () => { - Submit + + Submit + @@ -353,7 +359,9 @@ const Layout = () => { - Submit + + Submit + @@ -400,7 +408,9 @@ const Layout = () => { - Submit + + Submit + diff --git a/src/views/notifications/modals/Modals.js b/src/views/notifications/modals/Modals.js index d65dd44b2..11e375884 100644 --- a/src/views/notifications/modals/Modals.js +++ b/src/views/notifications/modals/Modals.js @@ -21,7 +21,9 @@ const LiveDemo = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Launch demo modal + setVisible(!visible)}> + Launch demo modal + setVisible(false)}> Modal title @@ -42,7 +44,9 @@ const StaticBackdrop = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Launch static backdrop modal + setVisible(!visible)}> + Launch static backdrop modal + setVisible(false)}> Modal title @@ -65,7 +69,9 @@ const ScrollingLongContent = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Launch demo modal + setVisible(!visible)}> + Launch demo modal + setVisible(false)}> Modal title @@ -165,7 +171,9 @@ const ScrollingLongContent2 = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Launch demo modal + setVisible(!visible)}> + Launch demo modal + setVisible(false)}> Modal title @@ -265,7 +273,9 @@ const VerticallyCentered = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Vertically centered modal + setVisible(!visible)}> + Vertically centered modal + setVisible(false)}> Modal title @@ -289,7 +299,9 @@ const VerticallyCentered2 = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Vertically centered scrollable modal + setVisible(!visible)}> + Vertically centered scrollable modal + setVisible(false)}> Modal title @@ -332,7 +344,9 @@ const TooltipsPopovers = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}>Launch demo modal + setVisible(!visible)}> + Launch demo modal + setVisible(false)}> Modal title @@ -342,7 +356,7 @@ const TooltipsPopovers = () => {

This - button + button {' '} triggers a popover on click.

@@ -376,9 +390,15 @@ const OptionalSizes = () => { const [visibleSm, setVisibleSm] = useState(false) return ( <> - setVisibleXL(!visibleXL)}>Extra large modal - setVisibleLg(!visibleLg)}>Large modal - setVisibleSm(!visibleSm)}>Small large modal + setVisibleXL(!visibleXL)}> + Extra large modal + + setVisibleLg(!visibleLg)}> + Large modal + + setVisibleSm(!visibleSm)}> + Small large modal + setVisibleXL(false)}> Extra large modal @@ -411,12 +431,24 @@ const FullscreenModal = () => { return ( <> - setVisible(!visible)}>Full screen - setVisibleSm(!visibleSm)}>Full screen below sm - setVisibleMd(!visibleMd)}>Full screen below md - setVisibleLg(!visibleLg)}>Full screen below lg - setVisibleXL(!visibleXL)}>Full screen below xl - setVisibleXXL(!visibleXXL)}>Full screen below xxl + setVisible(!visible)}> + Full screen + + setVisibleSm(!visibleSm)}> + Full screen below sm + + setVisibleMd(!visibleMd)}> + Full screen below md + + setVisibleLg(!visibleLg)}> + Full screen below lg + + setVisibleXL(!visibleXL)}> + Full screen below xl + + setVisibleXXL(!visibleXXL)}> + Full screen below xxl + setVisible(false)}> Full screen diff --git a/src/views/notifications/toasts/Toasts.js b/src/views/notifications/toasts/Toasts.js index 9631a0e83..639b78b48 100644 --- a/src/views/notifications/toasts/Toasts.js +++ b/src/views/notifications/toasts/Toasts.js @@ -39,7 +39,9 @@ const ExampleToast = () => { ) return ( <> - addToast(exampleToast)}>Send a toast + addToast(exampleToast)}> + Send a toast + )