mm
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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";
|
||||
Reference in New Issue
Block a user