mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 13:46:07 +00:00
fix
This commit is contained in:
@@ -66,7 +66,7 @@ export function DatePickerRtl() {
|
||||
: undefined
|
||||
|
||||
return (
|
||||
<Popover dir={dir}>
|
||||
<Popover>
|
||||
<PopoverTrigger
|
||||
render={
|
||||
<Button
|
||||
|
||||
@@ -66,7 +66,7 @@ export function DatePickerRtl() {
|
||||
: undefined
|
||||
|
||||
return (
|
||||
<Popover dir={dir}>
|
||||
<Popover>
|
||||
<PopoverTrigger asChild>
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { describe, expect, test } from "vitest"
|
||||
|
||||
import { transform } from "."
|
||||
import { createConfig } from "../get-config"
|
||||
import { transformCleanup } from "./transform-cleanup"
|
||||
|
||||
const testConfig = {
|
||||
const testConfig = createConfig({
|
||||
tailwind: {
|
||||
baseColor: "neutral",
|
||||
},
|
||||
@@ -11,7 +12,7 @@ const testConfig = {
|
||||
components: "@/components",
|
||||
utils: "@/lib/utils",
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
describe("transformCleanup", () => {
|
||||
test("removes cn-rtl-flip marker from className string", async () => {
|
||||
|
||||
Reference in New Issue
Block a user