Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@gluestack-ui/textarea
Advanced tools
A universal headless text-area component for React Native, Next.js & React
To use @gluestack-ui/textarea
, all you need to do is install the
@gluestack-ui/textarea
package:
$ yarn add @gluestack-ui/textarea
# or
$ npm i @gluestack-ui/textarea
The Textarea component is designed to accommodate larger amounts of text input. It allows multi-line input and can be easily customized to fit the user's needs. Here's an example how to use this package to create one:
import { Root, Input } from '../components/core/text-area/styled-components';
import { createTextarea } from '@gluestack-ui/textarea';
const Textarea = createTextarea({
Root,
Input,
});
Default styling of all these components can be found in the components/core/textarea file. For reference, you can view the source code of the styled textarea
components.
// import the styles
import { Root, Input } from '../components/core/text-area/styled-components';
// import the createTextarea function
import { createTextarea } from '@gluestack-ui/textarea';
// Understanding the API
const Textarea = createTextarea({
Root,
Input,
});
// Using the textarea component
export default () => (
<Textarea>
<Textarea.Input placeholder="your text goes here..." />
</Textarea>
);
More guides on how to get started are available here.
FAQs
A universal headless text-area component for React Native, Next.js & React
The npm package @gluestack-ui/textarea receives a total of 0 weekly downloads. As such, @gluestack-ui/textarea popularity was classified as not popular.
We found that @gluestack-ui/textarea demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.