Giter Site home page Giter Site logo

react-native-bootstrap-styles's People

Contributors

andrenerd 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-bootstrap-styles's Issues

Can you add documentation for how to use Media Queries?

I love this library! Seems like the perfect solution to dynamically updating stylesheets on React Native Web, something that seems to be sorely missing.

One question I have is - how do I create media queries inside the stylesheet?

Adding more feature like Carousel, Pagination, Navbar, etc

Can you provide some more feature like Carousel, Pagination, Jumbotron, Navbar, Sidebar menu, Collapse, Dropdown, input group, etc?
so i just install your library and not the other, i don't like nativebase actually
i want your library be the best.
Thank you for your time.

TypeError: Cannot assign to read only property 'exports' of object '#<Object>'

TypeError: Cannot assign to read only property 'exports' of object '#'
Module.

node_modules/react-native-bootstrap-styles/index.js:2

1 | import BootstrapStyleSheet from './src/';

2 | module.exports = BootstrapStyleSheet;

package.json includes:
"@react-navigation/native": "^5.1.1",
"react-native-bootstrap-styles": "0.0.9",

node -v: v12.16.1
npm -v: 6.13.4
expo --version: 3.15.5

Module not found: Can't resolve

Hi, i am getting the follwing error after a brand new project installation with expo init:

Module not found: Can't resolve '@babel/runtime/helpers/classCallCheck' in '..\node_modules\react-native-bootstrap-styles\src'

Module RCTEventEmitter is not a registered callable module

Module RCTEventEmitter is not a registered callable module (calling receiveTouches)
__callFunction
index.delta?platform=android&dev=true&minify=false:2479:18

index.delta?platform=android&dev=true&minify=false:2238:31
__guard
index.delta?platform=android&dev=true&minify=false:2435:15
callFunctionReturnFlushedQueue
index.delta?platform=android&dev=true&minify=false:2237:21

and

'styles' is read-only

both roor is showing for me its not working

this is my react version
react-native-cli: 2.0.1
react-native: 0.58.5

this is my code

import React, {Component} from 'react';
import {AppRegistry, StyleSheet, Text, View, Image, ScrollView,FlatList,Divider,TouchableHighlight} from 'react-native';
import BootstrapStyleSheet from 'react-native-bootstrap-styles';
import Header from './Header';

const
REM = BootstrapStyleSheet.DIMENSIONS_WIDTH < 360 ? 14 : 16,
BODY_COLOR = '#22',
TEXT_MUTED = '#888888';

// custom constants
const constants = {
REM,
BODY_COLOR, TEXT_MUTED,
};

// custom classes
let classes = {
title: {
color: 'red',
}
};

const bootstrapStyleSheet = new BootstrapStyleSheet(constants, classes);
const s = styles = bootstrapStyleSheet.create();
const c = constants = bootstrapStyleSheet.constants;

type Props = {};
export default class menus extends Component {
static navigationOptions = {
header: null
}
constructor(){
super();
this.state={
dataSource: [
{name: 'Menus', image: '../img/coffie.png','description':'Menus short description here'}
],

	}

}
_onPressButton=()=>{
alert('hello');
}

render() {
return (
<ScrollView style={{ backgroundColor:'#ffffff',}}>


Menu page under progress

  </ScrollView>

);

}
}

const styles = StyleSheet.create({

});

AppRegistry.registerComponent('menus', () => menus);

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.