Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@crave/farmblocks-filter-popover
Advanced tools
A farmblocks-popover with farmblocks-form-wrapper as the content
A component composed by farmblocks-popover and farmblocks-form-wrapper.
npm install @crave/farmblocks-filter-popover
<FilterPopover
hasValue
triggerLabel="Filter"
formTitle="Form Title"
onFormSaveClick={action("onActionButtonClick")}
formContent={
<div>
<TextInput label="Product" value="Apple" name="product" />
<TextInput label="Owner" />
</div>
}
/>
Output:
propery | type | description | required | default |
---|---|---|---|---|
triggerLabel | string | text to be used as children on Popover trigger | Yes | |
triggerFontSize | string | font-size of Popover trigger | 14px | |
triggerTextColor | string | text color of Popover trigger | #2f313a | |
triggerFontWeight | number or string | font weight of Popover trigger | normal | |
formTitle | string | title to be used on FormWrapper | ||
formContent | node | children to be used on FormWrapper | ||
formLoading | bool | loading to be used on FormWrapper | ||
formSaveLabel | string | saveLabel to be used on FormWrapper | Filter | |
formCancelLabel | string | cancelLabel to be used on FormWrapper | Cancel | |
onFormSaveClick | function | onSave to be used on FormWrapper | ||
onFormCancelClick | function | function to be called on click on cancel link | ||
tooltipProps | object | props to be passed to tooltip | ||
dismissOnSave | bool | automatically dismiss Popover on save event | ||
hasValue | bool | changes style of trigger popover | ||
onOutsideClick | function | function to be called on outside click |
MIT
FAQs
A farmblocks-popover with farmblocks-form-wrapper as the content
We found that @crave/farmblocks-filter-popover demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.