在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Ramotion/react-native-circle-menu开源软件地址(OpenSource Url):https://github.com/Ramotion/react-native-circle-menu开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):React Native Circle MenuCheck this library on other platforms:Looking for developers for your project? Features
Installation
UsageLook it in folder import React, {Component} from 'react'
import CircleMenu from '@ramotion/react-native-circle-menu'
class Example extends Component {
items = [
{
name: 'md-home',
color: '#298CFF'
},
{
name: 'md-search',
color: '#30A400'
},
{
name: 'md-time',
color: '#FF4B32'
},
{
name: 'md-settings',
color: '#8A39FF'
},
{
name: 'md-navigate',
color: '#FF6A00'
}
];
onPress = index => console.warn(`${this.items[index].name} icon pressed!`);
render() {
return <CircleMenu
bgColor="#E74C3C"
items={this.items}
onPress={this.onPress}
/>
}
} Props
LicenceCircle menu is released under the MIT license.
See LICENSE for details.
Get the Showroom App for iOS to give it a tryTry this UI component and more like this in our mobild app. Contact us if interested. Follow us for the latest updates |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论