MCPcopy Create free account
hub / github.com/decaporg/decap-cms / IconButton

Function IconButton

packages/decap-cms-ui-default/src/IconButton.js:25–37  ·  view source on GitHub ↗
({ size, isActive, type, onClick, className, title })

Source from the content-addressed store, hash-verified

23`;
24
25function IconButton({ size, isActive, type, onClick, className, title }) {
26 return (
27 <ButtonRound
28 size={size}
29 isActive={isActive}
30 className={className}
31 onClick={onClick}
32 title={title}
33 >
34 <Icon type={type} size={size} />
35 </ButtonRound>
36 );
37}
38
39export default IconButton;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected