@dcp-ui/code

Basic component to display theme code.

Usage no npm install needed!

<script type="module">
  import dcpUiCode from 'https://cdn.skypack.dev/@dcp-ui/code';
</script>

README

@dcp-ui/code

The Code component from @dcp-ui.

desyre npm bundle size License PRs Welcome

Description

Basic component to display theme code.

Installation

yarn add @dcp-ui/code @xstyled/styled-components @xstyled/system react react-dom styled-components

Import

import { Code } from '@dcp-ui/code'

Documentation

See the documentation or package source for more details.