mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
import React, { FC } from "react"
|
|
import * as SC from "./styles"
|
|
|
|
interface IRoleProps {
|
|
color: string
|
|
}
|
|
|
|
export const Role: FC<IRoleProps> = ({ children, color, ...props }) => {
|
|
return (
|
|
<SC.RoleWrapper {...props} color={color}>
|
|
{children}
|
|
</SC.RoleWrapper>
|
|
)
|
|
}
|