---
import Code from '@shortcodes/Code.astro'
import * as tableContent from '@shortcodes/TableContent.md'
interface Props {
/**
* Any class(es) to be added to the `
` element (both in the example and code snippet).
*/
class?: string
/**
* Show a simplified version in the example code snippet by replacing the table content inside ``
* with `...`.
* @default true
*/
simplified?: boolean
}
const { class: className, simplified = true } = Astro.props
const tableCode = `
${simplified ? ' ...' : await tableContent.compiledContent()}
`
---