Files
defgov/packages/ui-web-headless/componnets/button/ButtonLoading.tsx
2026-05-13 02:49:13 +08:00

10 lines
299 B
TypeScript

import { ComponentPropsWithRef } from "react";
type ButtonLoadingProps = ComponentPropsWithRef<"span">;
export const ButtonLoading = (props: ButtonLoadingProps) => {
const { children, ...rest } = props;
return <span {...rest}>{children}</span>;
};
ButtonLoading.displayName = "ButtonLoading";