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

Function SettingsButton

packages/decap-cms-widget-code/src/SettingsButton.js:24–30  ·  view source on GitHub ↗
({ showClose, onClick })

Source from the content-addressed store, hash-verified

22`;
23
24function SettingsButton({ showClose, onClick }) {
25 return (
26 <StyledSettingsButton onClick={onClick}>
27 <Icon type={showClose ? 'close' : 'settings'} size="small" />
28 </StyledSettingsButton>
29 );
30}
31
32export default SettingsButton;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected