[Work in progress] A Reactjs-based web app to help with ricing: designing beautiful unix desktop environments.
git clone https://mcol.xyz/code/unix.sexy
Log | Files | Refs

commit 6e4745dab86e5c96e08e9466461df5289afadca0
parent 6a3e243bf7c5af5ec11ab0946809d28462f4bc0d
Author: mcol <mcol@posteo.net>
Date:   Thu, 23 Jul 2020 00:19:47 +0100

allow custom styling of Button component

Diffstat:
Msrc/components/button/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/button/index.js b/src/components/button/index.js @@ -14,7 +14,7 @@ export default function Button(props) { <button onClick={() => dispatch(props.callback())} - style={{color: windowContent.textColour}} + style={{color: windowContent.textColour, ...props.style}} > {props.text} </button>