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

  • 4.2.9-alpha-fix-deps-6232.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-99.03%
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
triggerFontSizestringfont-size of Popover trigger14px
triggerTextColorstringtext color of Popover trigger#2f313a
triggerFontWeightnumber or stringfont weight of Popover triggernormal
formTitlestringtitle to be used on FormWrapper
formContentnodechildren to be used on FormWrapper
formLoadingboolloading to be used on FormWrapper
formSaveLabelstringsaveLabel to be used on FormWrapperFilter
formCancelLabelstringcancelLabel to be used on FormWrapperCancel
onFormSaveClickfunctiononSave to be used on FormWrapper
onFormCancelClickfunctionfunction to be called on click on cancel link
tooltipPropsobjectprops to be passed to tooltip
dismissOnSaveboolautomatically dismiss Popover on save event
hasValueboolchanges style of trigger popover
onOutsideClickfunctionfunction to be called on outside click

License

MIT

Keywords

FAQs

Package last updated on 09 Feb 2022

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