parent
43c069719c
commit
e87e889a87
12 changed files with 331 additions and 20 deletions
|
@ -16,6 +16,8 @@ import { collection } from 'site/hooks/use-design.mjs'
|
|||
import { DesignMeasurements } from './design-measurements.mjs'
|
||||
import { DesignOptions } from './design-options.mjs'
|
||||
import { MeasieImage } from 'shared/components/measurements/image.mjs'
|
||||
// Dev/Org jargon
|
||||
import { Term } from 'site/components/jargon.mjs'
|
||||
|
||||
export const components = (site = 'org', slug = []) => {
|
||||
const base = {
|
||||
|
@ -30,6 +32,7 @@ export const components = (site = 'org', slug = []) => {
|
|||
Tip: (props) => <Popout {...props} tip />,
|
||||
Tldr: (props) => <Popout {...props} tldr />,
|
||||
Warning: (props) => <Popout {...props} warning />,
|
||||
em: (props) => <Term {...props} />,
|
||||
}
|
||||
const extra = {
|
||||
pre: (props) => <Highlight {...props} />,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue