mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
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>
16 lines
315 B
TypeScript
16 lines
315 B
TypeScript
import type { JrxNode } from "@nym.sh/jrx"
|
|
|
|
import { jsx } from "@nym.sh/jrx/jsx-runtime"
|
|
|
|
export type ButtonProps = {
|
|
label: string
|
|
leadingIcon?: string
|
|
trailingIcon?: string
|
|
style?: string
|
|
children?: JrxNode | JrxNode[]
|
|
}
|
|
|
|
export function Button(props: ButtonProps): JrxNode {
|
|
return jsx("Button", props)
|
|
}
|