mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
feat: add @aelis/components package with JRX definitions (#68)
JRX component wrappers for the aelis-client UI components, enabling server-side feed item rendering via json-render. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
13
packages/aelis-components/src/monospace-text.ts
Normal file
13
packages/aelis-components/src/monospace-text.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { JrxNode } from "@nym.sh/jrx"
|
||||
|
||||
import { jsx } from "@nym.sh/jrx/jsx-runtime"
|
||||
|
||||
export type MonospaceTextProps = {
|
||||
content?: string
|
||||
style?: string
|
||||
children?: JrxNode | JrxNode[]
|
||||
}
|
||||
|
||||
export function MonospaceText(props: MonospaceTextProps): JrxNode {
|
||||
return jsx("MonospaceText", props)
|
||||
}
|
||||
Reference in New Issue
Block a user