mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
16 lines
404 B
TypeScript
16 lines
404 B
TypeScript
import * as React from 'react'
|
|
import { BaseComponentProps } from '@models/BaseProps'
|
|
import classnames from 'classnames'
|
|
import './style.scss'
|
|
|
|
type CardProps = BaseComponentProps
|
|
|
|
export function Card (props: CardProps) {
|
|
const { className, style, children } = props
|
|
return (
|
|
<div className={classnames('card', className)} style={style}>
|
|
{ children }
|
|
</div>
|
|
)
|
|
}
|