File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Link } from '@tanstack/react-router'
22import { twMerge } from 'tailwind-merge'
33import { FaCheck , FaCopy } from 'react-icons/fa'
4- import { getFrameworkOptions , Library } from '~/libraries'
4+ import { Library } from '~/libraries'
5+ import { getFrameworkOptions } from '~/libraries/frameworks'
56import { useCopyButton } from '~/components/CopyMarkdownButton'
67import { useToast } from '~/components/ToastProvider'
78
89export function FrameworkCard ( {
910 framework,
1011 libraryId,
11- version,
1212 packageName,
1313 index,
1414 library,
1515} : {
1616 framework : ReturnType < typeof getFrameworkOptions > [ number ]
1717 libraryId : string
18- version : string
1918 packageName : string
2019 index : number
2120 library : Library
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ export type Library = {
6262 visible ?: boolean
6363 // Legacy npm packages (non-@tanstack scope) to include in stats
6464 legacyPackages ?: string [ ]
65+ installPath ?: string
6566 corePackageName ?: string
6667}
6768
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ function RouteComponent() {
6767 key = { framework . value }
6868 framework = { framework }
6969 libraryId = { libraryId }
70- version = { version }
7170 packageName = { packageName }
7271 index = { i }
7372 library = { library }
You can’t perform that action at this time.
0 commit comments