1.0.0 • Published 4 years ago

@yext/cta-formatter v1.0.0

Weekly downloads
1,636
License
ISC
Repository
github
Last release
4 years ago

cta-formatter

Provides methods for formatting Yext CTA types

Install

Include the library npm package in your package.json.

npm install @yext/cta-formatter

Usage

Import the formatter and use a function with the CTA object as a parameter.

import CtaFormatter from '@yext/cta-formatter';
CtaFormatter.generateCTAFieldTypeLink(ctaObject); // your Yext CTA object as a parameter