mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-26 10:41:20 +08:00
20 lines
359 B
TypeScript
20 lines
359 B
TypeScript
import clsx from 'clsx';
|
|
|
|
export interface IconWrapperProps {
|
|
children?: React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
const IconWrapper = ({ children, className }: IconWrapperProps) => (
|
|
<div
|
|
className={clsx(
|
|
className,
|
|
'flex items-center rounded-small justify-center w-7 h-7'
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
|
|
export default IconWrapper;
|