react-electron-titlebar
v1.0.9
Published
Simple Titlebar for Windows or Mac using React
Downloads
31
Maintainers
Readme
react-electron-titlebar
React title bar for Electron apps
Example
Mac
Windows
Usage
Install with npm
npm install react-electron-titlebar
Install with yarn
yarn add react-electron-titlebar
API
Importing the module
import Titlebar from 'react-electron-titlebar';
...
<div>
<Titlebar title="App Title" backgroundColor="#000000">
</div>
Properties
| Property | Type | Default | Description | |-------------------------|-----------------------|-----------------------|---------------------------------------------------------------------------------------------------------------------| | title | string | null | Title to show for the window | backgroundColor | string | #000000 | Titlebar background