Reactjs and Material-uiを初めて使用しました。私はタイトルテキストをSVGロゴに変更しようとしましたが、私はこれで失われました。助けて!ツールバーの素材UI画像
/**
*
* UserPanelToolbar
*
*/
import React, { PropTypes } from 'react';
import Toolbar from 'react-md/lib/Toolbars';
class UserPanelToolbar extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
const items = this.props.items;
return (
<Toolbar
title = "TITLE"
actions = {items}
/>
);
}
}
UserPanelToolbar.propTypes = {
items: PropTypes.arrayOf(PropTypes.element).isRequired,
};
export default UserPanelToolbar;