0.0.18 • Published 3 years ago

@pongo-ui/react-text v0.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Text

The Text control standardizes font styling across a webpage.

Use

  1. Install the @pongo-ui/react-text component.

Using NPM

npm install @pongo-ui/react-text

Using Yarn

yarn add @pongo-ui/react-text
  1. Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme

  2. Set up the provider in your app:

import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate the Link component.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Text } from '@pongo-ui/react-link'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Text>Hello World</Text>
    <Provider>
  )
}

API

To learn more about the Text API take a look at the Text Interface file.

0.0.17

3 years ago

0.0.18

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago