1.0.0 • Published 4 years ago
@yext/cta-formatter v1.0.0
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
1.0.0
4 years ago