NapCatQQ/napcat.webui/src/components/github_info/icon_wrapper.tsx
2025-11-03 12:43:33 +08:00

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;