Merge branch 'main' into main

This commit is contained in:
glay
2025-02-11 09:06:33 +08:00
committed by GitHub
27 changed files with 413 additions and 34 deletions

View File

@@ -24,6 +24,7 @@ import React, {
useRef,
} from "react";
import { IconButton } from "./button";
import { Avatar } from "./emoji";
import clsx from "clsx";
export function Popover(props: {
@@ -539,6 +540,7 @@ export function Selector<T>(props: {
key={i}
title={item.title}
subTitle={item.subTitle}
icon={<Avatar model={item.value as string} />}
onClick={(e) => {
if (item.disable) {
e.stopPropagation();