import { Layout, Playground, Attributes } from 'lib/components'
import { Code } from 'components'
export const meta = {
title: 'Code',
description: 'tenotext',
}
## Code
Run npm i @zeit-ui/react to install.
`} />
yarn add @zeit-ui/vue
`} />
yarn add @zeit-ui/vue
`} />
{
const codes = \`npm i @zeit-ui/vue
yarn add @zeit-ui/vue\`
return {codes}
}
`} />
Code.Props
| Attribute | Description | Type | Accepted values | Default
| ---------- | ---------- | ---- | -------------- | ------ |
| **bash** | show code in bash mode | `boolean` | - | `false` |
| **block** | show code in `pre` | `boolean` | - | `false` |
| **darkBash** | show code in darkBash mode | `boolean` | - | `false` |
| **width** | set CSS width | `string` | - | `initial` |
| ... | native props | `HTMLAttributes` | `'className', ...` | - |
export default ({ children }) => {children}