style: auto-fix lint and format
This commit is contained in:
1 parent
07e6598f75
commit
dd11fd8381
1 file changed
+16
-2
@@ -75,7 +75,15 @@ export const BoardContainerSection = ({ section }: Props) => {
|
|||||||
radius={isVisuallyCollapsed ? board.itemRadius : "sm"}
|
radius={isVisuallyCollapsed ? board.itemRadius : "sm"}
|
||||||
variant="default"
|
variant="default"
|
||||||
justify={options.showLabel ? "flex-start" : "center"}
|
justify={options.showLabel ? "flex-start" : "center"}
|
||||||
leftSection={options.showLabel ? isVisuallyCollapsed ? <IconChevronDown size={16} /> : <IconChevronUp size={16} /> : undefined}
|
leftSection={
|
||||||
|
options.showLabel ? (
|
||||||
|
isVisuallyCollapsed ? (
|
||||||
|
<IconChevronDown size={16} />
|
||||||
|
) : (
|
||||||
|
<IconChevronUp size={16} />
|
||||||
|
)
|
||||||
|
) : undefined
|
||||||
|
}
|
||||||
onClick={toggle}
|
onClick={toggle}
|
||||||
aria-expanded={!isVisuallyCollapsed}
|
aria-expanded={!isVisuallyCollapsed}
|
||||||
aria-controls={contentId}
|
aria-controls={contentId}
|
||||||
@@ -84,7 +92,13 @@ export const BoardContainerSection = ({ section }: Props) => {
|
|||||||
data-board-container-label
|
data-board-container-label
|
||||||
title={options.showLabel ? label : undefined}
|
title={options.showLabel ? label : undefined}
|
||||||
>
|
>
|
||||||
{options.showLabel ? label : isVisuallyCollapsed ? <IconChevronDown size={16} /> : <IconChevronUp size={16} />}
|
{options.showLabel ? (
|
||||||
|
label
|
||||||
|
) : isVisuallyCollapsed ? (
|
||||||
|
<IconChevronDown size={16} />
|
||||||
|
) : (
|
||||||
|
<IconChevronUp size={16} />
|
||||||
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
{isEditMode && (
|
{isEditMode && (
|
||||||
|
|||||||
Reference in new issue
Block a user