Skip to content

Commit

Permalink
Rename projects!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Apr 27, 2020
1 parent f33fa29 commit 4488b32
Show file tree
Hide file tree
Showing 8 changed files with 260 additions and 318 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# react-native-context-menu
# react-native-context-menu-view

Use native context menu functionality from React Native. On iOS this uses `UIMenu` functionality, and on Android it uses a `PopUpMenu`.

## Getting started

`$ npm install react-native-context-menu --save`
`$ npm install react-native-context-menu-view --save`

### Mostly automatic installation

Expand All @@ -15,7 +15,7 @@ pod install

## Usage
```javascript
import ContextMenu from 'react-native-context-menu';
import ContextMenu from 'react-native-context-menu-view';

// TODO: What to do with the module?
```
Expand Down
2 changes: 1 addition & 1 deletion example/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { SafeAreaView, View, StyleSheet } from 'react-native';
import ContextMenu from 'react-native-context-menu';
import ContextMenu from 'react-native-context-menu-view';

const App = () => {
const [color, setColor] = useState('blue');
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"react": "16.11.0",
"react-native": "0.62.2",
"react-native-context-menu": "link:../"
"react-native-context-menu-view": "link:../"
},
"devDependencies": {
"@babel/core": "^7.9.0",
Expand Down
274 changes: 247 additions & 27 deletions example/yarn.lock

Large diffs are not rendered by default.

271 changes: 0 additions & 271 deletions ios/ReactNativeContextMenu.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-context-menu",
"title": "React Native Context Menu",
"name": "react-native-context-menu-view",
"title": "React Native Context Menu View",
"version": "1.0.0",
"description": "TODO",
"main": "index.js",
Expand All @@ -9,8 +9,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/mpiannucci/react-native-context-menu.git",
"baseUrl": "https://github.com/mpiannucci/react-native-context-menu"
"url": "git+https://github.com/mpiannucci/react-native-context-menu-view.git",
"baseUrl": "https://github.com/mpiannucci/react-native-context-menu-view"
},
"keywords": [
"react-native"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
s.name = "react-native-context-menu"
s.name = "react-native-context-menu-view"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
react-native-context-menu
react-native-context-menu-view
DESC
s.homepage = "https://github.com/mpiannucci/react-native-context-menu"
s.homepage = "https://github.com/mpiannucci/react-native-context-menu-view"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.authors = { "Matthew Iannucci" => "mpiannucci@gmail.com" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/mpiannucci/react-native-context-menu.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/mpiannucci/react-native-context-menu-view.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,swift}"
s.requires_arc = true
Expand Down

0 comments on commit 4488b32

Please sign in to comment.