Para

A text paragraph.

It implements the <p> element.

Styles

Import the styles within a Next.js custom app in pages/_app.js.
import 'device-agnostic-ui/public/components/Para.css';

Props

Use any valid <p> props.

Examples

Deep import.
import Para from 'device-agnostic-ui/public/components/Para.js';
Deep require.
const Para = require('device-agnostic-ui/public/components/Para');
Index import. Convenient, but technically inferior to a deep import.
import { Para } from 'device-agnostic-ui';
Index require. Convenient, but technically inferior to a deep require.
const { Para } = require('device-agnostic-ui');
Simple paragraph.
import { Para } from 'device-agnostic-ui';

const result = (
  <Para>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua.
  </Para>
);

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Tags