Skip to content

Commit d226a2f

Browse files
authored
add frameworks to tanstack hotkeys (#750)
1 parent 69ae0f2 commit d226a2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libraries/libraries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ export const hotkeys: LibrarySlim = {
523523
colorTo: 'to-rose-700',
524524
bgRadial: 'from-rose-500 via-rose-700/50 to-transparent',
525525
repo: 'tanstack/hotkeys',
526-
frameworks: ['react'],
526+
frameworks: ['react', 'preact', 'solid', 'svelte', 'vue', 'angular'],
527527
corePackageName: '@tanstack/hotkeys',
528528
latestVersion: 'v0',
529529
latestBranch: 'main',

src/utils/sandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function getExampleStartingFileName(
2222
? 'app.component'
2323
: ['svelte', 'vue'].includes(framework)
2424
? 'App'
25-
: ['form', 'query', 'pacer'].includes(libraryId!)
25+
: ['form', 'query', 'pacer', 'hotkeys'].includes(libraryId!)
2626
? 'index'
2727
: 'main'
2828

0 commit comments

Comments
 (0)