Skip to content

Commit 5083f76

Browse files
committed
refactor: replace hasBorder with plain
1 parent defe617 commit 5083f76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/design-system/summary-expander/summary-expander.component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type Props = OmitClassName<'button'> &
1919
title: string;
2020
disabled?: boolean;
2121
testId?: string;
22-
hasBorder?: boolean;
22+
plain?: boolean;
2323
}>;
2424

2525
export const SummaryExpander = ({
@@ -29,7 +29,7 @@ export const SummaryExpander = ({
2929
disabled,
3030
testId,
3131
children,
32-
hasBorder = true,
32+
plain = false,
3333
...props
3434
}: Readonly<Props>): JSX.Element => {
3535
return (
@@ -45,7 +45,7 @@ export const SummaryExpander = ({
4545
justifyContent="space-between"
4646
className={classNames(cx.header, {
4747
[cx.expanded]: open,
48-
[cx.noBorder]: !hasBorder,
48+
[cx.noBorder]: plain,
4949
})}
5050
>
5151
<Text.Body.Normal weight="$semibold" data-testid="expander-title">

0 commit comments

Comments
 (0)