Home Reference Source
public class | source

Tab

Extends:

react~React.Component → Tab

Компонент Таб

React Props:

NameTypeAttributeDescription
className string css-класс
title string заголовок
icon string иконка
disabled boolean флаг активности
active boolean активен / неактивен таб
id string id таба
children node элемент потомок компонента Tab

Static Method Summary

Static Public Methods
public static

getDerivedStateFromProps(nextProps: *): {"wasActive": boolean}

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

state: {"wasActive": *}

Method Summary

Public Methods
public

render(): *

Базовый рендер

Static Public Methods

public static getDerivedStateFromProps(nextProps: *): {"wasActive": boolean} source

Params:

NameTypeAttributeDescription
nextProps *

Return:

{"wasActive": boolean}

Public Constructors

public constructor() source

Public Members

public state: {"wasActive": *} source

Public Methods

public render(): * source

Базовый рендер

Return:

*