// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Popover} from '@astryxdesign/core/Popover'; import {Button} from '@astryxdesign/core/Button'; import {VStack, HStack} from '@astryxdesign/core/Layout'; import {Heading, Text} from '@astryxdesign/core/Text'; import {Divider} from '@astryxdesign/core/Divider'; const shortcuts = [ {key: '⌘K', action: 'Command palette'}, {key: '⌘/', action: 'Toggle sidebar'}, {key: '⌘.', action: 'Quick actions'}, ]; export default function PopoverKeyboardShortcuts() { return ( Keyboard shortcuts {shortcuts.map(s => ( {s.key} {s.action} ))} }> ); }