Skip to content

RtkMenuList

Last updated View as MarkdownAgent setup

A menu list component.

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
menuVariant 'primary' | 'secondary' - Variant
t RtkI18n useLanguage() Language

Usage Examples

Basic Usage

import { RtkMenuList } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkMenuList />;
}

With Properties

import { RtkMenuList } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkMenuList
      menuVariant={'primary' | 'secondary'}
    />
  );
}

Was this helpful?