I am trying to add a ring to a button if the addButtonRing state value is true. I am using react, typescript and tailwind.
const [addButtonRing, setAddButtonRing] = useState(false);
<button
className={ addButtonRing?`ring-black`:`ring-white` `rounded-xl shadow-md`}>
Button Text
</button>
Any help would be appreciated, thanks!