How to use the rc-tabs.defaultProps function in rc-tabs

To help you get started, we’ve selected a few rc-tabs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github forcedotcom / lightning-inspector / src / core / viewer / helpers / RCTabs.js View on Github external
import React from 'react';
import Tabs, { TabPane } from 'rc-tabs';
import TabContent from 'rc-tabs/lib/TabContent';
import ScrollableInkTabBar from 'rc-tabs/lib/ScrollableInkTabBar';
import './RCTabs.scss';

Tabs.defaultProps.renderTabBar = () => ;
Tabs.defaultProps.renderTabContent = () => (
    
);

export default Tabs;
export { Tabs, TabPane };
github forcedotcom / lightning-inspector / src / core / viewer / helpers / RCTabs.js View on Github external
import React from 'react';
import Tabs, { TabPane } from 'rc-tabs';
import TabContent from 'rc-tabs/lib/TabContent';
import ScrollableInkTabBar from 'rc-tabs/lib/ScrollableInkTabBar';
import './RCTabs.scss';

Tabs.defaultProps.renderTabBar = () => ;
Tabs.defaultProps.renderTabContent = () => (
    
);

export default Tabs;
export { Tabs, TabPane };

rc-tabs

tabs ui component for react

MIT
Latest version published 20 days ago

Package Health Score

87 / 100
Full package analysis