feat(SW-322): refactor shortcuts list

This commit is contained in:
Fredrik Thorsson
2024-10-11 14:00:56 +02:00
parent 67a33c9dc8
commit 5d1bdd9cd8
13 changed files with 77 additions and 58 deletions

View File

@@ -1,9 +1,9 @@
import type { Shortcut } from "@/types/trpc/routers/contentstack/blocks"
export interface ShortcutsProps extends Shortcut {
export interface ShortcutsListProps extends Shortcut {
firstItem?: boolean
}
export type ShortcutsListProps = {
shortCutList: ShortcutsProps["shortcuts"]
export type ShortcutsListItemsProps = {
shortCutList: ShortcutsListProps["shortcuts"]
}