Skip to content

Commit

Permalink
Mock in Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Jan 31, 2024
1 parent cbcc25d commit 26765ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/theme/Syntax/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import clsx from 'clsx';
import styles from './styles.module.css';

// Mocked version of Syntax component from LIGO repo

function Syntax(props) {
return (
<>
<div className={clsx(styles.titleText)}>{props.syntax}</div>
{props.children}
</>);
}

export default Syntax
3 changes: 3 additions & 0 deletions src/theme/Syntax/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.titleText {
font-weight: bold;
}

0 comments on commit 26765ce

Please sign in to comment.