• This component displays the basic button

    Parameters

    • props: {
          clickCallback: (() => void);
          icon?: ReactElement<any, string | JSXElementConstructor<any>>;
          text: string;
      }

      Properties of this view:

      • clickCallback: (() => void)

        Handler for when the menu button is clicked

          • (): void
          • Returns void

      • Optionalicon?: ReactElement<any, string | JSXElementConstructor<any>>

        The start icon of the button

      • text: string

        The text of the button

    Returns React.ReactElement