npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rn-bij-ui-kit

v0.0.8

Published

This is the UI Kit for all APPs which are developed for the applications of React Native at Bijnis.

Downloads

74

Readme

React-Native UI Kit for Bijnis

This is the UI Kit for all APPs which are developed for the applications of React Native at Bijnis.

.

Table of Contents

Installation

To use this UI kit in your React Native project, you can install it via npm:

yarn add rn-bij-ui-kit
or
npm install rn-bij-ui-kit --save

Usage

import {Header, ...} from 'rn-bij-ui-kit';
// ...

<ErrorBoundary>
 <OfflineNotice />
 <Header
  title={`UI-KiT Header Component 👋🏻`}
  style={styles.header}
  onPressLeftIcon={() => alert('left pressed')}
  // leftImage={leftArrowIcon}
  // leftIconStyle={{height: 25, width: 25, tintColor: '#000'}}
  rightChildren={
    <Button
      style={{
        margin: 1,
        height: 30,
        padding: 5,
        paddingHorizontal: 15,
      }}
      textStyle={{fontSize: 12}}
      title="Custom Button"
      type="filled"
      onPress={() => alert('OKay cool....🙃')}
    />
  }
/>

<Button title={'hi from Button'} />;

<Accordion title={'Hi from Accordion '}>
  <Text>experimental...</Text>
  <Text>********************UI-KIT-BIJINS ****************</Text>
</Accordion>;

 <Loader visible={isVisible} />

 <Dropdown
    multiple
    style={{margin: 10}}
    onPress={e => setSelectedDropDownData(p => [...p, e])}
    onPressClose={val => {
      let index = selectedDropDownData.findIndex(e => e.value === val);
      let data = selectedDropDownData.splice(index, 1);
      setSelectedDropDownData(data);
    }}
    selected={selectedDropDownData}
    data={dropDownData}
  />

  <Card>
<Text>  Card- Lorem ipsum dolor sit ameconsectetur adipiscing elit.  Donec
</Text>
 </Card>

 <Input
    textInputProps={{}}
    style={styles.searchBoxContainer}
    textInputStyle={styles.searchBox}
    placeholder={'Text input ....'}
    value={inputValue}
    onChangeText={e => setInputValue(e)}
    crossButton={true}
    onPressCloseButton={() => {}}
  />
  <Checkbox
    title="I agree to the terms and conditions"
    onPress={() => alert('checkbox pressed')}
    isSelected={true}
  />
  <RadioButton
    style={{margin: 10}}
    title={'UI kit ui button'}
    isSelected={true}
    onPress={() => alert('Radio button pressed')}
  />
 <Chip title="my chip" type="outline" />
 <Chip title="my chip with close button" closeButton={true} />


<BottomSheet
    isVisible={isSheetOpen}
    close={() => setIsSheetOpen(false)}
    defaultHeader={true}
    title={'Bottom Sheet'}
  >
  {your code....}
  </BottomSheet>

 <Filter
    visible={isFilter}
    onCloseFilter={() => setIsFilter(!isFilter)}
    filterData={[
      {
        title: 'Filter List',
        multiSelect: false,
        data: [{name: 'List -01'}, {name: 'List -02'}],
      },
      {
        title: 'Filter List -02',
        multiSelect: true,
        data: [{name: 'List -01'}, {name: 'List -02'}],
      },
    ]}
    onApplyFilter={(filteredData, totalFilterCount) =>
      console.log(JSON.stringify(filteredData), totalFilterCount)
    }
  />

<Image style={styles.img}
{...props}
/>

<SearchBar
     value={inputValue}
     onChangeText={v => setInputValue(v)}
     onResetText={() => setInputValue('')}
/>

<OrderStatusTracker
            // headingChildren={<View />}
            data={[
              {
                status: 'In Progress',
                date: new Date(),
                active: false,
                completed: true,
                image: 'https://via.placeholder.com/150/92c952',
              },
              {
                status: 'Seller Confirmed',
                date: moment(),
                active: false,
                completed: true,
              },
              {
                status: 'Dispatched',
                date: moment(),
                active: false,
                completed: true,
              },
            ]}
            phoneNumber={'+91 9999999999'}
            extraProp={[
              {
                index: 5,
                children: (
                  <View
                    style={{
                      flexDirection: 'row',
                      backgroundColor: '#EEE',
                      padding: 2,
                      borderRadius: 5,
                    }}>
                    <Text>{`Xpressbees`}</Text>
                    <Text>{`  📞 91 234567890`}</Text>
                  </View>
                ),
              },
            ]}
          />
<Separator />

 <ProgressBar text={``} style={{margin: 10}} progressPercent={50} />

 <TopTabs
    data={['1st Tab', '2nd Tab', '3rd Tab', '4th Tab']}
  // currentTabData={data => console.log('current tab data', data)}
 />

 <LeftTabs
   data={['1st Tab', '2nd Tab', '3rd Tab', '4th Tab']}
   // currentTabData={data => console.log('current tab data', data)}
/>
  <FAB
    animatedFab={true}
    // style={{bottom: 20}}
    title={'FAB'}
    onPress={() => console.log('custom pressed')}
  >
 <SubButton onPress={() => alert('Pressed 1!')} label="1" />
  <SubButton onPress={() => alert('Pressed 2!')} label="2" />
  <SubButton onPress={() => alert('Pressed 3!')} label="3" />
  <SubButton onPress={() => alert('Pressed 4!')} label="4" />
</FAB>

</ErrorBoundary>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

alt text alt text

Sourabh Bhatt , Abhishek Anshu