Skip to content

Commit

Permalink
[PLAY-1435] Fix Dark Mode Styles: Collapsible Kit
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymig88 committed Jul 19, 2024
1 parent 9dad00a commit fc8027f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Collapsible, useCollapsible, Background, Flex, Title, List, ListItem } from '../..'

const CollapsibleCustomMain = () => {
const CollapsibleCustomMain = (props) => {
const [isCollapsed, setIsCollapsed] = useCollapsible(true)

return (
Expand All @@ -22,6 +22,7 @@ const CollapsibleCustomMain = () => {
justify="between"
>
<Title
dark={props.dark}
size={4}
text="Custom Main Section"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Collapsible, useCollapsible, Background, Flex, Title, List, ListItem } from '../..'

const CollapsibleCustomMainWithIcon = () => {
const CollapsibleCustomMainWithIcon = (props) => {
const [isCollapsed, setIsCollapsed] = useCollapsible(true)

return (
Expand All @@ -21,7 +21,8 @@ const CollapsibleCustomMainWithIcon = () => {
gap="sm"
justify="between"
>
<Title
<Title
dark={props.dark}
size={4}
text="Custom Main Section"
/>
Expand Down

0 comments on commit fc8027f

Please sign in to comment.