File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/ui/src/components/ExpandableCard Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 33import { ArrowDownIcon , DragIcon } from '@ultraviolet/icons'
44import { useTheme } from '@ultraviolet/themes'
55import 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
6769type 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 ? (
You can’t perform that action at this time.
0 commit comments