Giter VIP home page Giter VIP logo

search-layout's Introduction

react-navigation-addon-search-layout

A plain but perfectly acceptable search layout screen that looks good on iOS and Android.

Installation

npm install react-navigation-addon-search-layout

This requires that you have react-native-vector-icons installed in your project, it uses the Ionicons font family. If you use the Expo managed workflow, it will work out of the box as that comes preinstalled and is available through @expo/vector-icons'.

Usage

See example/App.tsx.

search-layout's People

Contributors

armenio avatar brentvatne avatar eriveltonelias avatar fedyk avatar giautm avatar sidevesh avatar summerkiflain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

search-layout's Issues

Package has no peerDependencies defined.

I've added the search-layout add on into a bare Expo project and I have to be installing its dependencies manually.

Shouldn't the package come with the packages that it depends on already set? or these dependencies (i.e: react-native-safe-area-view) are expected to be already set it up by the dev when using react-navigation.

Best ๐Ÿš€

Failed to jump properly

In Search Modal, using this.props.navigation.navigate("HomeTwo") to jump to the specified page will automatically return to Main, you can add multiple screens in Main in your case and try to jump

as:

const MainStack = StackNavigator(
  {
    Home: {
      screen: Home
    },
HomeTwo: {
      screen: HomeTwo
    },
  },
  ...
);

const Navigation = StackNavigator(
  {
    Main: {
      screen: MainStack,
    },
    Search: {
      screen: SearchLayout
    },
  },
 ... 
}

An error occured

Hey , thnx for the library

after following the readme and running the app with search layout am getting this

/Users/path../node_modules/react-navigation-addon-search-layout/index.js 1:20
Module parse failed: Unexpected token (1:20)
You may need an appropriate loader to handle this file type.
> export default from "./src/SearchLayout";

this error won't stop the app from running or functioning probably on mobile (though i get the error on the logs),
but it will stop it if i run the app with
expo start --web

Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.