Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function SpacerAdapter(props) {
return (
{(adapterProps) => (
<div>
{props.children}
</div>
)}
);
}
{(adapterProps) => (
<div>
{props.children}
</div>
)}
);
}
SpacerAdapter.propTypes = {
inset: PropTypes.oneOf(HIG.Spacer.AvailableSizes),
type: PropTypes.oneOf(HIG.Spacer.AvailableTypes),
width: PropTypes.oneOf(HIG.Spacer.AvailableSizes),
children: PropTypes.node
}
export default SpacerAdapter;