@avidly/js-fields
TypeScript icon, indicating that this package has built-in type declarations

0.3.50 • Public • Published

Install

  • Install Node, NPM
  • Install Yarn npm install --global bun
  • run bun install

Deploy

  • run bun run build

Using

  • bun add --dev @igomoon/hubspot-fields-js @avidly/types

Using in app

  • In fields.js file
  const { Field, Group } = require('@igomoon/hubspot-fields-js');
  const { UtilFields, AFields } = require('@avidly/avidly-fields');

  module.exports = [
    UtilFields.variantField({ simple: true }),
    UtilFields.pageWidthField(),
    UtilFields.headingField({ simple: true }),
    new Group()
      .name('links', 'Items')
      .children([
        Field.text().name('text', 'Text').default('Title'),
        Field.richText().name('content', 'Content')
      ])
      .repeat()
  ];

Readme

Keywords

none

Package Sidebar

Install

npm i @avidly/js-fields

Weekly Downloads

378

Version

0.3.50

License

ISC

Unpacked Size

32.9 kB

Total Files

8

Last publish

Collaborators

  • jonazk
  • jjtoikka