prscX / react-native-bottom-sheet-text-view

React Native: Native Bottom Sheet - Text View

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PRs Welcome

ReactNative: Native Bottom Sheet Text View (Android/iOS): Deprecated

Due to time constraint, this library is deprecated and not maintained anymore, You can still use this library.

If this project has helped you out, please support us with a star 🌟

This library is a wrapper around native bottomsheet which is modified to show a large text view:

Android: prscX/BottomSheetTextView.Android
iOS: prscX/BottomSheetTextView.iOS

πŸ“– Getting Started

$npm install react-native-bottom-sheet-text-view

$react-native link react-native-bottom-sheet-text-view

  • Android

    • Please add below script snippet in your app build.gradle
buildscript {
    repositories {
        jcenter()
        maven { url "https://maven.google.com" }
    }
    ...
}

allprojects {
    repositories {
        jcenter()
        mavenLocal()
        maven { url "https://maven.google.com" }
        ...
    }
}

dependencies {
    compile 'com.github.prscX:BottomSheetTextView.Android:0.0.1'
}

Note: Android SDK 27 > is supported

  • iOS
    • After react-native link react-native-bottom-sheet-text-view, please verify node_modules/react-native-bottom-sheet-text-view/ios/ contains Pods folder. If does not exist please execute pod install command on node_modules/react-native-bottom-sheet-text-view/ios/, if any error => try pod repo update then pod install

πŸ’» Usage

import { RNBottomSheetTextView } from 'react-native-bottom-sheet-text-view'
RNBottomSheetTextView.Show({
    title: '',
    description: ''
});

πŸ’‘ Props

  • Props: Generic
Prop Type Default Note
title string Specify the title of bottom sheet
description string Specify the description of bottom sheet
titleSize number 25 Specify the font size of title
descriptionSize number 20 Specify the font size of description
titleColor string: HEX-NUMBER #000000 Specify the color of title
descriptionColor string: HEX-NUMBER #757575 Specify the color of description

✨ Credits

πŸ€” How to contribute

Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

πŸ’« Where is this library used?

If you are using this library in one of your projects, add it in this list below. ✨

πŸ“œ License

This library is provided under the Apache 2 License.

RNBottomSheetTextView @ prscX

πŸ’– Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like πŸš€

  • If you're feeling especially charitable, please follow prscX on GitHub.

    Buy Me A Coffee

    Thanks! ❀️
    prscX.github.io
    </ Pranav >

About

React Native: Native Bottom Sheet - Text View

License:Apache License 2.0


Languages

Language:Objective-C 53.8%Language:Java 20.1%Language:JavaScript 10.4%Language:Starlark 9.7%Language:Ruby 5.9%