Skip to content

Commit

Permalink
feat(box): add tabIndex prop
Browse files Browse the repository at this point in the history
  • Loading branch information
DipperTheDan committed Aug 25, 2022
1 parent 52f065f commit 79a20f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/box/box.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export interface BoxProps
scrollVariant?: ScrollVariant;
/** set the box-sizing attribute of the Box component */
boxSizing?: BoxSizing;
/** Allows a tabindex to be specified */
tabIndex?: number | string;
}

const Box = styled.div<BoxProps>`
Expand Down

0 comments on commit 79a20f2

Please sign in to comment.