Skip to content

activeStyles of Tabs #857

@nguyenph194812

Description

@nguyenph194812

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:

image

<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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions