import React, { PropTypes } from 'react';
import cx from 'classnames';

import s from '../Markdown/Markdown.css';

const CodeRenderer = ({ className, children }) => (
	<code className={cx(s.code, className)}>{children}</code>
);

CodeRenderer.propTypes = {
	className: PropTypes.string,
	children: PropTypes.node,
};

export default CodeRenderer;

import React, { PropTypes } from 'react';

import s from '../Markdown/Markdown.css';

const CodeRenderer = ({ className, children }) => (
	<span className={className}>
		<code className={s.code}>{children}</code>
	</span>
);

CodeRenderer.propTypes = {
	className: PropTypes.string,
	children: PropTypes.node,
};

export default CodeRenderer;

Fix regression: colors in props table.
Fix regression: colors in props table.
