Skip to content

ehabAbdelMawla/custom-react-electron-titlebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Custom React Electron Titlebar

React Package Add Custom Title Bar To Electrons Apps

Table of Contents

About The Project

Package Provide A Title Bar Component To View On Electron Apps

Built With

ReactJs

Getting Started

Installation

npm install custom-react-electron-titlebar --save

Usage

import TitleBar from "custom-react-electron-titlebar"
..
..
..
render(){
  let options = {
            backgroundColor: "#000",
            iconsColor: "#FFF",
            title: "To Do List",
            titleColor: "#FFF",
            icon: true,
            closeIconClass: "fa fa-times",
            maximizeIconClass: "fa fa-square-o",
            minimizeIconClass: "fa fa-minus"
        }
return(<TitleBar options = { options }/>)}

Props

Prop Name Description Type
backgroundColor background of titlebar String
iconsColor Color Of FontAwesome Icons String
title Title Of Project String
titleColor Color Of Project Title String
icon true Or false (get icon href from index.html) Boolean
closeIconClass fontAwesome class of close icon String
maximizeIconClass fontAwesome class of maximize icon String
minimizeIconClass fontAwesome class of minimize icon String

Contact

About

React Package Add Custom Title Bar To Electrons Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published