I'm using Flowbite React, an dit has a lot of great elements, but many interactive component get this really annoying border when clicked. How do you et rid of it? This turns a beautiful component to an ugly one, and I can't figure out how to change it.
In the example here I am trying to use the tabs. When looking at the theme at the bottom of the page, I see that the border comes from the "ring" property which is set to focus:ring-4 focus:ring-cyan-300
. I've tried setting my items className to this: className="ring-0 focus:ring-0 focus:ring-transparent"
but nothing gets overridden and the ring still shows up.
This is my entire component:
"use client";
import { Tabs } from "flowbite-react";
import {BsFillGrid3X2GapFill, BsFan} from 'react-icons/bs'
import { HiSignal } from "react-icons/hi2";
export default function ConfigureDeckTabs({
onTabChange,
}: {
onTabChange: (tab: number) => void;
}) {
return (
<Tabs.Group style="underline" onActiveTabChange={onTabChange} className="mt-2">
<Tabs.Item
active
icon={BsFillGrid3X2GapFill}
title="Panels"
className="ring-0 focus:ring-transparent focus:ring-8"
></Tabs.Item>
<Tabs.Item
icon={BsFan}
title="Fans"
className="ring-0 focus:ring-0 focus:ring-transparent"
></Tabs.Item>
<Tabs.Item
icon={HiSignal}
title="Sensors"
className="ring-0 focus:ring-0 focus:ring-transparent"
></Tabs.Item>
</Tabs.Group>
);
}