mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
20 lines
356 B
TypeScript
20 lines
356 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
|