File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/design-system/summary-expander Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export type Props = OmitClassName<'button'> &
19
19
title : string ;
20
20
disabled ?: boolean ;
21
21
testId ?: string ;
22
- hasBorder ?: boolean ;
22
+ plain ?: boolean ;
23
23
} > ;
24
24
25
25
export const SummaryExpander = ( {
@@ -29,7 +29,7 @@ export const SummaryExpander = ({
29
29
disabled,
30
30
testId,
31
31
children,
32
- hasBorder = true ,
32
+ plain = false ,
33
33
...props
34
34
} : Readonly < Props > ) : JSX . Element => {
35
35
return (
@@ -45,7 +45,7 @@ export const SummaryExpander = ({
45
45
justifyContent = "space-between"
46
46
className = { classNames ( cx . header , {
47
47
[ cx . expanded ] : open ,
48
- [ cx . noBorder ] : ! hasBorder ,
48
+ [ cx . noBorder ] : plain ,
49
49
} ) }
50
50
>
51
51
< Text . Body . Normal weight = "$semibold" data-testid = "expander-title" >
You can’t perform that action at this time.
0 commit comments