import React from 'react';
import Container from 'react-bootstrap/Container';
export type Props = {
title: string,
icon?: string,
tags: string[],
style?: 'primary' | 'light'
}
function Tag(props: {text: string}) {
return (
{props.text}
)
}
export default function TagCloud(props: Props) {
const containerClasses = ['tag-cloud', 'cloud-' + (props.style || 'standard')]
return (
{props.icon && ( )}{props.title}
{props.tags.map((tag: string) => () )}
)
}