Migrate to a monorepo structure (#2909)
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
import { StyledGroup, StyledGroupHeading } from './KeyboardShortcutMenuStyles';
|
||||
|
||||
type KeyboardMenuGroupProps = {
|
||||
heading: string;
|
||||
children: React.ReactNode | React.ReactNode[];
|
||||
};
|
||||
|
||||
export const KeyboardMenuGroup = ({
|
||||
heading,
|
||||
children,
|
||||
}: KeyboardMenuGroupProps) => {
|
||||
return (
|
||||
<StyledGroup>
|
||||
<StyledGroupHeading>{heading}</StyledGroupHeading>
|
||||
{children}
|
||||
</StyledGroup>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user