UNPKG

@yext/search-ui-react

Version:

A library of React Components for powering Yext Search integrations

29 lines (27 loc) 820 B
export * from './components/index'; export * from './hooks/index'; export * from './models/index'; export * from './utils/index'; /** * Content path to the source files in component library that utilizes Tailwind class names. * This is intended to be used in user's custom tailwind config. * * @public * * @remarks * This assumes that the node_modules folder containing the component library * is in adjacent level with the user's tailwind.config.js file. * * @example * In user's tailwind.config.js file: * * ```js * const { ComponentsContentPath } = require('@yext/search-ui-react'); * * module.exports = { * content: [ ComponentsContentPath ], * // ... the rest of your tailwind config * }; * ``` */ export const ComponentsContentPath = 'node_modules/@yext/search-ui-react/lib/**/*.{js,jsx}';