Socket
Book a DemoInstallSign in
Socket

@fenderdigital/react-content-tabs

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fenderdigital/react-content-tabs

Fender React UI Kit ContentTabs Component

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

ContentTabs for Fender React UI Kit

Description

A component for a tabbed navigation.

Installation and Usage

yarn add @fenderdigital/react-content-tabs --save
import ContentTabs from '@fenderdigital/react-content-tabs';

Props

  • bgColor - a configurable tachyon background class.
  • borderColor - a configurable tachyon border class.
  • children - renders any child elements.
  • defaultTab - label to default selected tab state to.
  • fluid - a boolean to set a fluid layout for the tabs.
  • onClick - callback.
  • selectedBackgroundColor - configurable tachyon background class for the selected state.
  • selectedTextColor - configurable tachyon color text class for the selected state.
  • underlineColor - tachyon bottom border color class
  • underline - a boolean to use the underline color.
propNamepropTypedefaultValueisRequired
bgColorstringwhite-
borderColorstringlight-gray-
childrennodenull-
defaultTabstringnull-
fluidbooleanfalse-
onClickfunc() => {}-
selectedBackgroundColorstringwhite-
selectedTextColorstringnear-black-
textColorstringgray-
underlineColorstringred-
underlinebooleantrue-

Development

Check the Monorepo README for development documentation.

Keywords

react

FAQs

Package last updated on 11 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts