React Native MantineTypography

Blockquote

Styled quotation block

Import: import { Blockquote } from 'react-native-mantine';

Usage

import { Blockquote } from 'react-native-mantine';

<Blockquote color="blue" cite="– Author Name">
  Life is like an npm install – you never know what you are going to get.
</Blockquote>

Props

PropTypeDefaultDescription
colorMantineColor'blue'Blockquote color from theme
iconReact.ReactNodeIcon to display on the left side
citeReact.ReactNodeCitation text
radiusMantineNumberSize'sm'Border radius
childrenReact.ReactNodeBlockquote content
styleanyAdditional styles
testIDstringTest identifier used by testing frameworks
withTextWrapperbooleantrueIf false, children will not be wrapped in a Text component. This is useful when the children contain non-text elements like icons or custom components.

Source on GitHub · npm