RocketChat/Rocket.Chat

View on GitHub
packages/uikit-playground/src/Payload/tabNavigation/disabled.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { LayoutBlock } from "@rocket.chat/ui-kit";

export const disabled: readonly LayoutBlock[] = [{
    type: 'tab_navigation',
    tabs: [{
        type: 'tab',
        disabled: true,
        title: {
            type: 'plain_text',
            text: 'tab 1',
        },
        appId: 'tab_navigation',
        blockId: 'tab1',
        actionId: 'tab1',
    },
    {
        type: 'tab',
        title: {
            type: 'plain_text',
            text: 'tab 2',
        },
        appId: 'tab_navigation',
        blockId: 'tab2',
        actionId: 'tab2',
    },
    {
        type: 'tab',
        title: {
            type: 'plain_text',
            text: 'tab 3',
        },
        appId: 'tab_navigation',
        blockId: 'tab3',
        actionId: 'tab3',
    }],
}];