Code

A styled code based component. Allows customization with styled-components package.

Demo

View Code

API

Component takes any prop you give it and displays the children as the content.

Example:

import { Code } from 'react-horcrux';

export default YourComponent function() {
  return <Code>react-horcrux rulez d00d</Code>;
}

results matching ""

    No results matching ""