• Button which can render a text string.

    Parameters

    • props: PropsWithChildren<Object>
    • Optional context: any

    Returns null | ReactElement<any, any>

    Example

    // Rendered as button
    <TextButton type="button" text="Click me!" />

    // Rendered as link
    <TextButton path="/home" text="Click me!" />

Generated using TypeDoc