Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crave/farmblocks-filter-popover

Package Overview
Dependencies
Maintainers
6
Versions
534
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crave/farmblocks-filter-popover

A farmblocks-popover with farmblocks-form-wrapper as the content#520

  • 0.2.0-alpha.8832807e
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
520
increased by1030.43%
Maintainers
6
Weekly downloads
 
Created
Source

Farmblocks Filter Popover

A component composed by farmblocks-popover and farmblocks-form-wrapper.

Installation

npm install @crave/farmblocks-filter-popover

Usage

<FilterPopover
  hasValue
  triggerLabel="Filter"
  formTitle="Form Title"
  onFormSaveClick={action("onActionButtonClick")}
  formContent={
    <div>
      <TextInput label="Product" value="Apple" name="product" />
      <TextInput label="Owner" />
    </div>
  }
/>

Output:

image

Properties

properytypedescriptionrequireddefault
triggerLabelstringtext to be used as children on Popover triggerYes
formTitlestringtitle to be used on FormWrapper
formContentnodechildren to be used on FormWrapper
formLoadingboolloading to be used on FormWrapper
formSaveLabelstringsaveLabel to be used on FormWrapperFilter
onFormSaveClickfunctiononSave to be used on FormWrapper
alignstringPopover align
dismissOnSaveboolautomatically dismiss Popover on save event
hasValueboolchanges style of trigger popover

License

MIT

Keywords

FAQs

Package last updated on 17 Sep 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc