import Layout from '../components/Layout' import SEO from '../components/SEO' import { getVariables, Variable } from '../utils/doc-utils' import { Link } from 'react-feather' export interface VariablesProps { variables: Variable[] } export default function Variables(props: VariablesProps) { return (

Variables

{props.variables.map((cs) => (
{cs.name}
Default:{' '} {cs.default ? {cs.default} : n/a}
))}
) } export async function getStaticProps() { const variables = getVariables() return { props: { variables } } }