Skip to content

Commit a9c690b

Browse files
committed
docs(context-drawer): add comment about internal ButtonCorner component and fix lint
1 parent ad4200f commit a9c690b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/context-drawer/src/ButtonCorner/ButtonCorner.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import { useDarkMode } from '@leafygreen-ui/leafygreen-provider';
55
import { getFill, getWrapperStyles } from './ButtonCorner.styles';
66
import { Side } from './ButtonCorner.types';
77

8+
/**
9+
* @returns component that renders the visually rounded sides of the ContextDrawerButton.
10+
*
11+
* @internal
12+
*/
813
export const ButtonCorner = ({ side }: { side: Side }) => {
914
const { theme } = useDarkMode();
1015

packages/context-drawer/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
export { ContextDrawerButton, type ContextDrawerButtonProps } from './ContextDrawerButton';
1+
export {
2+
ContextDrawerButton,
3+
type ContextDrawerButtonProps,
4+
} from './ContextDrawerButton';

0 commit comments

Comments
 (0)