Base text component for applying typographic styles.

Usage

import { PlumaTestHelpers } from '@customerio/pluma-components/react/test-helpers/pluma-test-helpers'

const text = PlumaTestHelpers.extract('Text', screen.getByTestId('data-test-text'));

Test Helpers

Gets the text content

Whether the text content matches the expected text

On this page