mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-30 05:14:06 +01:00
12 lines
330 B
TypeScript
12 lines
330 B
TypeScript
import { classNames } from "../../ui/classNames";
|
|||
|
|
import { Button, type ButtonProps } from "../Button";
|
||
|
|
import styles from "./index.module.css";
|
||
|
|
|
||
|
|
export function IconButton({ className, ...props }: ButtonProps) {
|
||
|
|
return (
|
||
|
|
<Button
|
||
|
|
className={classNames(className, styles["icon-button"])}
|
||
|
|
{...props}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
}
|