From eb015adbc3525aa3a9360fa8437dab7593811cbb Mon Sep 17 00:00:00 2001 From: Matt Jones <885417+jonesmac@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:37:56 -0500 Subject: [PATCH] default expanded to true --- .../raw-info/src/components/Button/RawInfoIconButton.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx b/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx index 4a107cc6b4..93b15884eb 100644 --- a/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx +++ b/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx @@ -17,7 +17,10 @@ export interface RawInfoIconProps extends IconButtonProps, ExpansionProps { } export const RawInfoIconButton = forwardRef( - ({ defaultExpandedJson, dialogContent, iconOnly, iconSize = 32, onCloseCallback, payload, presetIconSize, updateExpandedJson, ...props }, ref) => { + ( + { defaultExpandedJson = true, dialogContent, iconOnly, iconSize = 32, onCloseCallback, payload, presetIconSize, updateExpandedJson, ...props }, + ref, + ) => { const [open, setOpen] = useState(false) const size = presetIconSizeValue(presetIconSize)