Skip to main content
Glama
deleonio
by deleonio
disabled.tsx1.1 kB
import { KolToolbar } from '@public-ui/react-v19'; import type { FC } from 'react'; import React from 'react'; import { SampleDescription } from '../SampleDescription'; export const ToolbarDisabled: FC = () => { return ( <> <SampleDescription> <p>This sample shows KolToolbars with some of the elements disabled.</p> </SampleDescription> <KolToolbar _label="Toolbar" class="block w-fit" _items={[ { type: 'button', _label: 'Back', _disabled: true, _hideLabel: true, _icons: { left: { icon: 'codicon codicon-arrow-left', }, }, }, { type: 'button', _label: 'Next', _hideLabel: true, _icons: { right: { icon: 'codicon codicon-arrow-right', }, }, }, { type: 'link', _href: '#/back-page', _label: 'Simple Link 1', }, { type: 'link', _href: '#/back-page', _disabled: true, _label: 'Simple Link 3', }, { type: 'button', _label: 'Bold', }, ]} /> </> ); };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server