gatsby-plugin-appointlet

1.1.3 • Public • Published

gatsby-plugin-appointlet

Gatsby plugin Appointlet Button for adding your booking page to your website.

License Version Gatsby Version React Version

Changelog

More informations in CHANGELOG.md

Installation

Use this commmand npm i --save gatsby-plugin-appointlet or yarn install gatsby-plugin-appointlet

Configuration

Add an env var named GATSBY_APPOINTLET_URL = e.g. https://appointlet.link/your-scheduling-page

Usage

// In your gatsby-config.js
module.exports = {
  plugins: [
    ... other plugins
    `gatsby-plugin-appointlet`,
    ... other plugins
  ],
}

Add import to your file :

import { AppointletButton } from 'gatsby-plugin-appointlet'

Add component to your file :

<AppointletButton tag="div" className="btn btn-primary gap-2">
  <FaCalendarCheck />
  <span>Prenez rendez-vous</span>
</AppointletButton>

You can set the type of component when you set the tag attribute. By default, the component is a button.

Every attributes set will be add to AppointletButton|button.

Package Sidebar

Install

npm i gatsby-plugin-appointlet

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

15.4 kB

Total Files

12

Last publish

Collaborators

  • novagaia