mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 16:14:13 +00:00
Use v4 blocks for Open in v0 (#7898)
* feat(www): use v4 blocks for v0 * fix: defaultIndex
This commit is contained in:
@@ -3,7 +3,7 @@ import { Icons } from "@/components/icons"
|
||||
import { Button } from "@/registry/new-york-v4/ui/button"
|
||||
|
||||
// v0 uses the default style.
|
||||
const V0_STYLE = "default"
|
||||
const V0_STYLE = "new-york-v4"
|
||||
|
||||
export function OpenInV0Button({
|
||||
name,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -257,7 +257,6 @@ export function ChartAreaInteractive() {
|
||||
/>
|
||||
<ChartTooltip
|
||||
cursor={false}
|
||||
defaultIndex={isMobile ? -1 : 10}
|
||||
content={
|
||||
<ChartTooltipContent
|
||||
labelFormatter={(value) => {
|
||||
|
||||
Reference in New Issue
Block a user