Skip to content

Commit afd9ef7

Browse files
committed
fix: missing component
1 parent 537743e commit afd9ef7

File tree

1 file changed

+4
-0
lines changed
  • packages/ui/src/components/ExpandableCard

1 file changed

+4
-0
lines changed

packages/ui/src/components/ExpandableCard/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { ArrowDownIcon, DragIcon } from '@ultraviolet/icons'
44
import { useTheme } from '@ultraviolet/themes'
55
import type {
6+
CSSProperties,
67
DetailsHTMLAttributes,
78
DragEvent,
89
ForwardedRef,
@@ -62,6 +63,7 @@ type CommonProps = {
6263
className?: string
6364
/** Uncontrolled but open by default */
6465
open?: DetailsHTMLAttributes<HTMLDetailsElement>['open']
66+
style?: CSSProperties
6567
} & DraggableProps
6668

6769
type ExpandableCardProps = XOR<
@@ -86,6 +88,7 @@ const BaseExpandableCard = forwardRef(
8688
onKeyDown,
8789
'data-testid': dataTestId,
8890
open,
91+
style,
8992
}: ExpandableCardProps,
9093
ref: ForwardedRef<HTMLDetailsElement>,
9194
) => {
@@ -161,6 +164,7 @@ const BaseExpandableCard = forwardRef(
161164
onMouseEnter={handleMouseEnter}
162165
onMouseLeave={handleMouseLeave}
163166
ref={containerRef}
167+
style={style}
164168
width="100%"
165169
>
166170
{draggable ? (

0 commit comments

Comments
 (0)