Files
reacord/src.new/components/text.tsx
2021-12-25 00:52:21 -06:00

15 lines
278 B
TypeScript

import type { ReactNode } from "react"
import React from "react"
export type TextProps = {
children?: ReactNode
}
export const TextTag = "reacord-text"
export function Text(props: TextProps) {
return React.createElement(TextTag, props)
}
export class TextElementNode {}