docs: update icon button (#243)

pull/248/head
fenglei 6 months ago committed by GitHub
parent 792ed4da85
commit f937a4ddc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,11 @@
/*
* @Author: fenglei wfl12036@163.com
* @Date: 2024-08-07 18:23:03
* @LastEditors: fenglei wfl12036@163.com
* @LastEditTime: 2024-08-07 18:32:52
* @FilePath: /mediago/packages/renderer/src/components/IconButton.tsx
* @Description: ,`customMade`, koroFileHeader : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import { cn } from "@/utils";
import { useMemoizedFn } from "ahooks";
import React, { cloneElement, PropsWithChildren, ReactElement } from "react";
@ -10,6 +18,7 @@ interface Props extends PropsWithChildren {
highlight?: boolean;
}
// IconButton
export function IconButton({
children,
disabled,

Loading…
Cancel
Save