clay-pinterest

A simple pinterest embed component for clay

Usage no npm install needed!

<script type="module">
  import clayPinterest from 'https://cdn.skypack.dev/clay-pinterest';
</script>

README

clay-pinterest

A component for Clay.

Install

npm install --save clay-pinterest

Adds a pinterest embed component.

Usage

Once you install it, it will be automatically recognized by amphora.

To include it, create an instance of it and add a reference to a component list.

In edit mode, it'll display as a link (because Pinterest, unlike twitter or instagram, doesn't fall back gracefully when their script isn't loaded). In view mode, it'll display an embedded Pinterest post.