Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-anderson committed Jan 2, 2024
1 parent 5a80700 commit a61c972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ interface Props {
children: React.ReactNode;
}

export const getDefaultTabId = (tab: string) => `tab-${tab}`;
export const getDefaultTabPanelId = (tab: string) => `tab-panel-${tab}`;

/*
* LateralScrollControls:
* Wraps a container with lateral scroll arrow buttons to scroll left and right.
* Wraps a scrollable container with lateral scroll arrow buttons to scroll left and right.
*/
const LateralScrollControls = ({
containerRef,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Box from '../Box';

<Canvas>
<Story name="default">
<LateralScrollControls>
<LateralScrollControls containerRef={undefined}>
<Box
display="flex"
width="200px"
Expand Down

0 comments on commit a61c972

Please sign in to comment.