open-index/open-npm huggingface dataset:
npm package: @rndmsd0/tui-kit
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 0.0.0

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      ...tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      ...tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      ...tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```
npm package: @rndna/fonts
Description: To use DNA React Native Font in your project, follow these steps:
Author: DNA Micro Mobile Team
Latest version: 0.0.3


# DNA React Native Font Usage

To use DNA React Native Font in your project, follow these steps:

1. For fresh installation you must run this following commands
   ```bash
   yarn add @rndna/font
2. run this command to generate config file **react-native.config.js** and all font assets (**Lato, OpenSans, Roboto**) and **types** on your project
   ```bash
    #for development instance, you can use the command to install config and fonts locally
   npm i -g 
    #then run this after 
   npx rndna-font-init
   #to link all assets to ios and android
   npx react-native-assets
3. Basic Usage to use the font package
```js
import { View, Text } from 'react-native'
import React from 'react'
import {Font} from '@rndna/font';

const Component = () => {
  return (
      <Text 
        style={{
            Font('Lato', 'Normal')
            //your other styles...
        }}
      >
        Hello World
      </Text>
  )
}
export default Component
```
4. If your project is already wrapped by DNA React theme-provider context **@rndna/theme-provider**, use the code below:
```js
import { View, Text } from 'react-native'
import React from 'react'
import {useFont} from '@rndna/theme-provider';
import {Font} from '@rndna/font';

const Component = () => {
    //hooks to get the font in context
  const themeFont = useFont();
  return (
    <View>
      <Text 
        style={{
            Font(themeFont.fontFamily, 'bold', 'italic')
            //your other styles...
        }}
      >
        Hello World
      </Text>
    </View>
  )
}
export default Component
```
npm package: @rndna/textfield
Description: An essential element for entering text into the application through a keyboard, this foundational component offers configurability through props for various features. These include options for auto-correction, auto-capitalization, placeholder text, and th
Author: DNA Micro Mobile Team
Latest version: 0.0.2

# DNA React Native TextField

An essential element for entering text into the application through a keyboard, this foundational component offers configurability through props for various features. These include options for auto-correction, auto-capitalization, placeholder text, and the ability to choose different keyboard types, such as a numeric keypad.

The primary use case involves placing a TextInput and subscribing to the onChangeText events to capture user input. Additionally, other events like onSubmitEditing and onFocus are available for subscription.