Socket
Socket
Sign inDemoInstall

@fluentui-react-native/text

Package Overview
Dependencies
Maintainers
6
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui-react-native/text

A cross-platform Text component using the Fluent Design System


Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

Text

A cross-platform Text component using the Fluent Design System.

Text elements can be specified either by passing a variant typography token into a TextV1 element or by using predefined JSX types. For example:

import { Body1, TextV1 } from '@fluentui-react-native/text';

const myText = <TextV1 variant="body1">Here is some body text</TextV1>;
const moreText = <Body1>Here is some more body text</Body1>;

The former is better if you want to have more fine control over the appearance of your text, while the latter is better if you're looking for the simplest way to add a pre-styled text component.

See SPEC.md for more implementation details.

Text V1 supported platforms: win32

FAQs

Package last updated on 22 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc