diff --git a/.changeset/clean-dividers-sing.md b/.changeset/clean-dividers-sing.md new file mode 100644 index 000000000..9e4c663cf --- /dev/null +++ b/.changeset/clean-dividers-sing.md @@ -0,0 +1,5 @@ +--- +'@tiny-design/react': patch +--- + +Revamp `Divider` with a new API: replace `type`, `align`, and `dashed` with `orientation`, `titlePlacement`, `variant`, `plain`, and `titleGap`. diff --git a/packages/react/src/divider/__tests__/__snapshots__/divider.test.tsx.snap b/packages/react/src/divider/__tests__/__snapshots__/divider.test.tsx.snap index 595f90161..7525aab20 100644 --- a/packages/react/src/divider/__tests__/__snapshots__/divider.test.tsx.snap +++ b/packages/react/src/divider/__tests__/__snapshots__/divider.test.tsx.snap @@ -3,7 +3,8 @@ exports[` should match the snapshot 1`] = `