How to use the @crave/farmblocks-tooltip.POSITIONS.Y function in @crave/farmblocks-tooltip

To help you get started, we’ve selected a few @crave/farmblocks-tooltip examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CraveFood / farmblocks / packages / popover / src / Popover.story.js View on Github external
.add("Tooltip positioned on top", () => (
    Trigger}
      content={() => }
      onOutsideClick={action("onOutsideClick")}
      tooltipProps={{ positionY: POSITIONS.Y.TOP }}
    />
  ));

@crave/farmblocks-tooltip

Tooltip component

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis