
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
fdmg-ts-react-image-button
Advanced tools
ReactJS ImageButton component. This component renders an image with onClick hook.
npm i --save-dev fdmg-ts-react-image-buttonor
yarn add fdmg-ts-react-image-button --devimport * as React from 'react';
import ImageButton from 'fdmg-ts-react-image-button';
export default class foo {
public state: any;
public props: any;
constructor(props: any) {
super(props);
this.props = props;
}
clickHandler() {
console.info('Image button clicked');
}
render() {
return (
<ImageButton
src={"img/button.svg"}
onClick={this.clickHandler.bind(this)}
className="image-btn btn"
alt="Special button"
/>
);
}
}
<span class="image-btn btn"
role="button"
tabIndex="0"
aria-label="Special button">
<img alt="Special button" src="img/button.svg"/>
</span>
FAQs
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.