@sanity/ui 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -9188,6 +9188,7 @@ const TreeItem = react.memo(function TreeItem2(props) {
9188
9188
  href,
9189
9189
  icon,
9190
9190
  id: idProp,
9191
+ linkAs,
9191
9192
  muted,
9192
9193
  onClick,
9193
9194
  padding = 3,
@@ -9285,6 +9286,7 @@ const TreeItem = react.memo(function TreeItem2(props) {
9285
9286
  children: [/* @__PURE__ */jsxRuntime.jsx(TreeItemBox, {
9286
9287
  $level: tree.level,
9287
9288
  "aria-expanded": expanded,
9289
+ as: linkAs,
9288
9290
  "data-ui": "TreeItem__box",
9289
9291
  href,
9290
9292
  ref: treeitemRef,