import React, { FC } from 'react' import './TalentSlot.scss' import { Icon } from './Icon' import { spells } from '../data/spells' interface Props { key: number talent: TalentData /** Points spent */ points: number onClick?: (e: any) => void } export const TalentSlot: FC = (props) => { const { talent, points } = props const requiredPointsSpent = talent.row * 5 return (
{points}/{talent.ranks.length}
) }