Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{({ status }) => (
<div>
onChange('year', newYear)}
/>
{status !== Sticky.STATUS_FIXED &&
headerAttributes &&
Object.keys(headerAttributes).length > 0 &&
Object.keys(headerAttributes).some(k => headerAttributes[k].value !== null) && (
<div>
{Object.keys(headerAttributes).map(indicatorKey => (
{renderIndicator(indicatorKey)}
))}
</div>
)}
</div>
)}
{({ status }) => (
<div>
</div>
)}
{(status: StickyNodeStatus) => (
<form>
<label>
<input placeholder="Type here..." type="text" value="{query}">
</label>
</form>
{({ status }) => (
<div>
{status !== Sticky.STATUS_FIXED &&
headerAttributes &&
Object.keys(headerAttributes).length > 0 &&</div>
handleChange = status => {
this.setState({ sticky: status.status === Sticky.STATUS_FIXED });
};
{({ status }) => (
<div>
onChange('year', newYear)}
/>
{status !== Sticky.STATUS_FIXED &&
headerAttributes &&
Object.keys(headerAttributes).length > 0 &&</div>
{(status: StickyNodeStatus) => (
<form>
<label>
<input placeholder="Type here..." type="text" value="{query}">
</label>
</form>
{({ status }) => (
<div>
{status !== Sticky.STATUS_FIXED &&
headerAttributes &&
Object.keys(headerAttributes).length > 0 &&
Object.keys(headerAttributes).some(k => headerAttributes[k].value !== null) && (
<div>
{Object.keys(headerAttributes).map(indicatorKey => (
{renderIndicator(indicatorKey)}
))}
</div>
)}
</div>
)}
{({ status }) => (
<div>
</div>
)}
handleChange = status => {
this.setState({ sticky: status.status === Sticky.STATUS_FIXED });
};