React Native MenuBar Extra

Easily add MenuBar to your React Native MacOS Application

Library
Open Source
Open GitHub

Easily add native menubar (NSMenu) to your React Native MacOS App.

ViewPager

This library supports only react-native-macos

Installation

yarn add react-native-menubar-extra
# or ---
npm install react-native-menubar-extra
cd macos && pod install

Usage

import { MenuBarExtraItem, MenubarExtraView } from 'react-native-menubar-extra';
 
const MenuBar = () => {
  return (
    <MenubarExtraView icon="car">
      <MenuBarExtraItem
        title="Item 1"
        onItemPress={() => {
          console.log('Item pressed');
        }}
      />
    </MenubarExtraView>
  );
};