code: function getStyles(props) {
    const { toolbar } = props.theme;
  
    return {
      container: [toolbar.container, props.style.container],
    };
  }
docs: const isSearchable = props => (props.searchable && props.isSearchActive) || false; const getIsSearchActive = (props, state) => (props.searchable && state.isSearchActive) || false;