Skip to content

Commit

Permalink
feat: resolve jsdoc grammer
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaware committed Feb 26, 2024
1 parent 93628b5 commit 2211044
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/blade/src/components/Drawer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import type { TestID } from '~utils/types';

type DrawerProps = {
/**
* Controlled state of drawer open or not
* Controls the state of the drawer, indicating whether it is open or closed
*/
isOpen: boolean;

/**
* Dismiss handler
* Callback function triggered when the drawer is dismissed or closed
*/
onDismiss: () => void;

Expand All @@ -30,11 +30,11 @@ type DrawerProps = {
*/
zIndex?: number;
/**
* Accessibility label for the drawer
* Accessibility label for the drawer
*/
accessibilityLabel?: string;
/**
* Ref to the element to be focused on opening the drawer.
* Ref to the element that should receive focus when opening the drawer.
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
initialFocusRef?: React.MutableRefObject<any>;
Expand Down

0 comments on commit 2211044

Please sign in to comment.