activeStyles of Tabs
nguyenph194812 opened this issue Β· comments
Bug report π
Version & Environment
- Version of browser
- Version of
geist-ui/core
: latest
Expected Behaviour
The behavior I expect is that the active items have the style i set in activeStyles attribute
Actual results (or Errors)
I got an error:
<Tabs
initialValue="1"
onChange={(val) => setValue(val)}
value={value}
activeStyles={{ color: "black" }}
>
{categories.map((category, index) => {
return (
<TabsItem label={category} value={index.toString()} key={index} />
)
}
)}
</Tabs>