Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@material/react-typography
Advanced tools
Readme
A React version of an MDC Typography.
npm install @material/react-typography
with Sass:
import '@material/react-typography/index.scss';
with CSS:
import '@material/react-typography/dist/typography.css';
import React from 'react';
import {
Body1,
Body2,
Button,
Caption,
Headline1,
Headline2,
Headline3,
Headline4,
Headline5,
Headline6,
Overline,
Subtitle1,
Subtitle2,
} from '@material/react-typography';
class MyApp extends React.Component {
render() {
return (
<React.Fragment>
<Headline1>Kate Lockwell</Headline1>
<Headline2>Jim Raynor</Headline2>
<Headline3>Kerrigan</Headline3>
<Headline4>Arcturus Mengsk</Headline4>
<Headline5>Valerian Mengsk</Headline5>
<Headline6>Donny Vermillion</Headline6>
<Subtitle1>Kate Lochwell</Subtitle1>
<Subtitle2>Jim Raynor</Subtitle2>
<Body1>Kerrigan</Body1>
<Body2>Arcturus Mengsk</Body2>
<Caption>Valerian Mengsk</Caption>
<Button>Donny Vermillion</Button>
<Overline>Kate Lockwell</Overline>
</React.Fragment>
);
}
}
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h1' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h2' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h3' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h4' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h5' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h6' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h6' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'h6' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'p' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'p' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'span' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'span' ) |
Prop Name | Type | Description |
---|---|---|
children | Node | A React node to render within the component. The text to display |
className | String | Classes to be applied to the root element |
tag | String | The tag type to render (default 'span' ) |
Sass mixins may be available to customize various aspects of the Components. Please refer to the MDC Web repository for more information on what mixins are available, and how to use them.
FAQs
Material Components React Typography
The npm package @material/react-typography receives a total of 208 weekly downloads. As such, @material/react-typography popularity was classified as not popular.
We found that @material/react-typography demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.