11

A MenuView shim for react-native-web

 2 years ago
source link: https://reactnativeexample.com/a-menuview-shim-for-react-native-web/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Menu

A MenuView shim for react-native-web

Mar 08, 2022

1 min read

React Native MenuView

A <MenuView> shim for react-native-web.

If Platform.OS is not web, use native @react-native-menu/menu instead.

menu-demo.mov

Usage

import { MenuView } from 'react-native-menu-view'

All props are same with @react-native-menu/menu.

image prop has format with ${fontFamily}/${ligatures}. You can use @font-face to
load an image font.

GitHub

View Github

Previous Post

Popular wordle game with React Native

Next Post

Ballerini community react-native challenge on discord

You might also like...

React Native Navigation by Wix does not offer an in-built solution for displaying a drawer on iOS.
03 June 2021
iOS14+ UIMenu component for react-native. Falls back to ActionSheet for versions below iOS14.
04 February 2021
A template for building a cross-platform mobile app with hamburger-menu-style navigation built in.
21 November 2020

Subscribe to React Native Example for Android and iOS

Get the latest posts delivered right to your inbox


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK