summaryrefslogtreecommitdiff
path: root/src/components/CollapsibleSectionHeader.tsx
diff options
context:
space:
mode:
authorMetaCubeX <[email protected]>2022-11-03 12:09:10 +0800
committerGitHub <[email protected]>2022-11-03 12:09:10 +0800
commit908a2c5251d2bf236df97e2c79b27f699b5b6d39 (patch)
treee3fae28002c198779bc2b8255ae01ee69edb2be9 /src/components/CollapsibleSectionHeader.tsx
parent89e8f0c6a3a7399e05a5934c3fdabcbe0b96d5ae (diff)
parentbb5eff27eba3f40ecf43f0f72b19802cc0b5c311 (diff)
Merge pull request #5 from kaniwow/master
fix and feat
Diffstat (limited to 'src/components/CollapsibleSectionHeader.tsx')
-rw-r--r--src/components/CollapsibleSectionHeader.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/CollapsibleSectionHeader.tsx b/src/components/CollapsibleSectionHeader.tsx
index 2d5ecd1..65d876e 100644
--- a/src/components/CollapsibleSectionHeader.tsx
+++ b/src/components/CollapsibleSectionHeader.tsx
@@ -31,7 +31,7 @@ export default function Header({ name, type, toggle, isOpen, qty }: Props) {
style={{ cursor: 'pointer' }}
tabIndex={0}
onKeyDown={handleKeyDown}
- role="button"
+ role='button'
>
<div>
<SectionNameType name={name} type={type} />
@@ -40,10 +40,10 @@ export default function Header({ name, type, toggle, isOpen, qty }: Props) {
{typeof qty === 'number' ? <span className={s.qty}>{qty}</span> : null}
<Button
- kind="minimal"
+ kind='minimal'
onClick={toggle}
className={s.btn}
- title="Toggle collapsible section"
+ title='Toggle collapsible section'
>
<span className={cx(s.arrow, { [s.isOpen]: isOpen })}>
<ChevronDown size={20} />