Strong
Marks text of strong importance, seriousness, or urgency within running text. For stress that changes the meaning of a sentence, use Emphasis.
Deleting a project removes its files for everyone and can't be undone.
Code
demo.tsx
import {Strong, Text} from '@earendil-works/elanor-react';
export default function StrongDemo() {
return (
<Text>
Deleting a project <Strong>removes its files for everyone</Strong> and can't be undone.
</Text>
);
} Usage
import {Strong} from '@earendil-works/elanor-react';
<Strong>removes its files for everyone</Strong>;
Strong renders a strong element in semantic.fontWeight.emphasis, the same weight in UI and in long-form content. A plain strong uses the browser’s relative bolder, which depends on the surrounding weight and the fonts available.
API
Strong
Text of strong importance within running text.
Renders <strong>. Accepts its HTML attributes and ref.