CoastalCommitsPastes/client/app/components/badges/visibility-badge/index.tsx

12 lines
208 B
TypeScript
Raw Normal View History

import Badge from "../badge"
2022-03-06 19:46:59 -05:00
type Props = {
2022-11-14 21:39:42 -05:00
visibility: string
2022-03-06 19:46:59 -05:00
}
const VisibilityBadge = ({ visibility }: Props) => {
return <Badge type={"primary"}>{visibility}</Badge>
2022-03-06 19:46:59 -05:00
}
2022-03-10 22:51:10 -05:00
export default VisibilityBadge