Skip to content

Commit 4d1b4c7

Browse files
refactor: rename style
1 parent bd9a95d commit 4d1b4c7

File tree

1 file changed

+2
-2
lines changed
  • packages/website/docs/patterns/nested-drag-and-drop

1 file changed

+2
-2
lines changed

packages/website/docs/patterns/nested-drag-and-drop/example.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ const DraggablePanel = memo(function DraggablePanel({
396396
}
397397
`;
398398

399-
const headerStyles = css`
399+
const buttonContentStyles = css`
400400
display: flex;
401401
gap: ${euiTheme.size.xs};
402402
align-items: center;
@@ -439,7 +439,7 @@ const DraggablePanel = memo(function DraggablePanel({
439439
* See: https://eui.elastic.co/docs/components/containers/accordion/#interactive-content-in-the-trigger
440440
*/
441441
buttonContent={
442-
<span css={headerStyles}>
442+
<span css={buttonContentStyles}>
443443
<span className="grab-icon" css={[iconStyles, grabIconStyles]}>
444444
<EuiIcon type="grab" />
445445
</span>

0 commit comments

Comments
 (0)