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.
@chakra-ui/clickable
Advanced tools
React hook and component that implements native button interactions
React hook that implements all the interactions of a native button
component
with support for making it focusable even if it is disabled.
It can be used with both native button elements or other elements (like div
).
import { useClickable } from "@chakra-ui/clickable"
// create a clickable primitive
const Clickable = (props) => {
const clickable = useClickable(props)
return <chakra.button display="inline-flex" {...clickable} />
}
// use the clickable primitive
const Example = () => (
<Clickable
as="div"
onClick={(event) => {
alert("clicked")
}}
_active={{ bg: "blue", color: "white" }}
_disabled={{ opacity: 0.4, pointerEvents: "none" }}
>
Clickable
</Clickable>
)
FAQs
React hook and component that implements native button interactions
The npm package @chakra-ui/clickable receives a total of 412,794 weekly downloads. As such, @chakra-ui/clickable popularity was classified as popular.
We found that @chakra-ui/clickable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.