Skip to content

Instantly share code, notes, and snippets.

View ThakurBallary's full-sized avatar
:electron:

Thakur Ballary ThakurBallary

:electron:
View GitHub Profile
@ThakurBallary
ThakurBallary / Tag.js
Created July 8, 2018 18:04
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, TextInput, StyleSheet } from 'react-native';
import { ColorPicker, ModalInput, Separator, Tag } from 'react-native-btr';
class TagDemo extends Component {
static navigationOptions = {
title: 'Tag'
}
@ThakurBallary
ThakurBallary / SnackBar.js
Created July 8, 2018 18:02
react-native-btr-demo
import React, { Component } from 'react';
import { View, StyleSheet } from 'react-native';
import { SnackBar } from 'react-native-btr';
class SnackBarDemo extends Component {
static navigationOptions = {
title: 'SnackBar'
}
@ThakurBallary
ThakurBallary / IconPicker.js
Created July 8, 2018 17:56
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { IconPicker } from 'react-native-btr';
class IconPickerDemo extends Component {
static navigationOptions = {
title: 'IconPicker'
}
@ThakurBallary
ThakurBallary / ColorPicker.js
Created July 8, 2018 17:54
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { ColorPicker } from 'react-native-btr';
class ColorPickerDemo extends Component {
static navigationOptions = {
title: 'ColorPicker'
}
@ThakurBallary
ThakurBallary / CollapsibleCard.js
Created July 8, 2018 17:52
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { CollapsibleCard } from 'react-native-btr';
class CollapsibleCardDemo extends Component {
static navigationOptions = {
title: 'CollapsibleCard'
}
@ThakurBallary
ThakurBallary / CheckBox.js
Created July 8, 2018 17:49
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet, FlatList } from 'react-native';
import { CheckBox, Separator } from 'react-native-btr';
class CheckBoxDemo extends Component {
static navigationOptions = {
title: 'CheckBox'
}
@ThakurBallary
ThakurBallary / BottomSheet.js
Created July 8, 2018 14:36
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
import { BottomSheet } from 'react-native-btr';
class BottomSheetDemo extends Component {
static navigationOptions = {
title: 'BottomSheet'
}
@ThakurBallary
ThakurBallary / RadioButton.js
Created June 21, 2018 03:41
react-native-btr-demo
import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { RadioButton } from 'react-native-btr';
class RadioButtonDemo extends Component {
static navigationOptions = {
title: 'RadioButton'
}
@ThakurBallary
ThakurBallary / ModalInputExample.js
Last active June 17, 2018 18:58
React Native BTR ModalInput Usage Example (https://npmjs.com/package/react-native-btr)
import React, { Component } from 'react';
import { Text, TextInput, TouchableOpacity, View, StyleSheet } from 'react-native';
import { ColorPicker, IconPicker, ModalInput, Separator } from 'react-native-btr';
class ModalInputDemo extends Component {
state = {
modalInputVisible: false,
color: '',
savedColor: '',
@ThakurBallary
ThakurBallary / App.js
Last active May 30, 2018 10:06
React Native Radio Buttons Group
import React, { Component } from 'react';
import { Text, View, StyleSheet } from 'react-native';
import RadioGroup from 'react-native-radio-buttons-group';
export default class Vertical extends Component {
state = {
data: [
{
label: 'Default value is same as label',