How to use the react-slugify.default function in react-slugify

To help you get started, we’ve selected a few react-slugify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github contentz-tech / contentz / src / components / html / heading.js View on Github external
exports.H4 = props =>
  jsx("h4", {
    css: {
      fontSize: "1.5em",
      fontWeight: "normal",
      margin: "1em 0 0.25em"
    },
    id: slugify(jsx("h4", props)),
    ...props
  });

react-slugify

Slugify a React node

MIT
Latest version published 3 months ago

Package Health Score

59 / 100
Full package analysis

Popular react-slugify functions