• Button which can render an text together with an icon.

    Parameters

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

    Returns null | ReactElement<any, any>

    Example

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

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

Generated using TypeDoc