MastheadToolbarButtons

Type: React component

How to get MastheadToolbarButtons?

JavaScript

import { MastheadToolbarButtons } from 'fds/components';

A layout container which should contain Button components, handling the horizontal spacing. Should be used as a direct child of a MastheadToolbar component.

Props

  1. children

    (Required)

    Type: ReactNode

  2. onRef

    (Optional)

    Type: Function

    A callback that is called whenever a component's ref changes.

    Use this callback to get a ref to (the domNode of) a component. There shouldn't be many usecases for using this prop yourself, but you might have to implement it with a given argument from a render callback somewhere.

    For more information about React and "refs", check the React documentation

    Arguments

    Returns