mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
19 lines
366 B
TypeScript
19 lines
366 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
const Segment: React.FC<SegmentProps> = ({ children, className = '' }) => {
|
|
return (
|
|
<div
|
|
className={`py-3 px-7 text-black dark:text-white dark:bg-discord-black bg-little-white rounded ${className}`}
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
interface SegmentProps {
|
|
className?: string
|
|
children: ReactNode
|
|
}
|
|
|
|
export default Segment
|