![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
electron-react-titlebar
Advanced tools
A github desktop style title bar component for electron.
npm i --save electron-react-titlebar
npm run build
npm run demo
app.on('ready', () => {
require('electron-react-titlebar/main').initialize()
})
import { TitleBar } from 'electron-react-titlebar/renderer'
import 'electron-react-titlebar/assets/style.css'
ReactDOM.render(
<TitleBar menu={menuTemplate} icon={iconPath} />,
document.querySelector('title-bar')
)
ReactDOM.render(
<TitleBar menu={menuTemplate} icon={iconPath}>
<link rel="stylesheet" type="text/css" href={require.resolve('electron-react-titlebar/assets/style.css')} />
</TitleBar>,
document.body
)
Elements to be rendered in between the menu and the window controls (optional).
Disable minimize button (optional).
Disable maximize button (optional).
Path to icon file (optional).
The browserWindow's id that window controls affect to. Default value is the browserWindow that renders the component (optional).
Menu template of Electron's Menu (optional).
Note: electron-react-titlebar is supporting a subset of Electron's MenuItem.
Supported options:
click
- supported, but the callback only have item
and event
parameter, and the browserWindow
parameter is removed due to restriction since Electron@14type
- submenu
is not supported.label
- supportedenabled
- supportedvisible
- supportedchecked
- supportedThe v1.0.0 version contains following breaking changes:
React@16.8
or newer versionelectron-react-titlebar/renderer
currentWindow
prop has been removed, instead you can control your browserWindow by browserWindowId
propIf you're still using Electron below 14 and don't want to take breaking changes, you can still use 0.x version of electron-react-titlebar.
FAQs
A github desktop style title bar component for electron.
The npm package electron-react-titlebar receives a total of 140 weekly downloads. As such, electron-react-titlebar popularity was classified as not popular.
We found that electron-react-titlebar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.