![Fluent Assertions Faces Backlash After Abandoning Open Source Licensing](https://cdn.sanity.io/images/cgdhsj6q/production/98cc622027c44eed628584f02cb3b6e79be011c7-1500x1500.webp?w=400&fit=max&auto=format)
Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@material/react-button
Advanced tools
A React version of an MDC Button.
npm install @material/react-button
with Sass:
import '@material/react-button/index.scss';
with CSS:
import '@material/react-button/dist/button.css';
import React from 'react';
import Button from '@material/react-button';
class MyApp extends React.Component {
render() {
return (
<Button>
Click Me!
</Button>
);
}
}
Prop Name | Type | Description |
---|---|---|
className | String | Classes to be applied to the root element. |
raised | Boolean | Enables raised variant. |
unelevated | Boolean | Enables unelevated variant. |
outlined | Boolean | Enables outlined variant. |
dense | Boolean | Enables dense variant. |
icon | Element | Icon to render within root element. |
trailingIcon | Element | Icon to render on the right side of the element |
children | String | Text to be displayed within root element. |
disabled | Boolean | Disables button if true. |
href | String | Sets a hyperlink & uses anchor tag instead of a button. |
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.
Please see our Best Practices doc when importing or using icon fonts.
FAQs
Material Components React Button
The npm package @material/react-button receives a total of 1,143 weekly downloads. As such, @material/react-button popularity was classified as popular.
We found that @material/react-button 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.