For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
/* | |
In the following examples I will show how an app could be written in | |
progressively improved potential hyperapp versions | |
It may not always look like an improvement. I'd have to use an *actually* | |
complicated app as an example to really prove the benefit. So just use | |
your imagination :) | |
But first: the basic app I will be successively improving on. This should |
# ------------------------------------------------------------------------------ | |
# tlp - Parameters for power saving | |
# See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html | |
# dir: /etc/default/tlp | |
# Hint: some features are disabled by default, remove the leading # to enable | |
# them. | |
# Set to 0 to disable, 1 to enable TLP. |
(ns x.y | |
(:use [plumbing.core]) ;; Just for the map-vals | |
(:require [clojure.walk :refer [postwalk prewalk prewalk-demo postwalk-demo]] | |
[clojure.core.match :refer [match]] | |
[schema.utils :refer [named-error-explain validation-error-explain]] | |
[schema.core :as s]) | |
(:import (schema.utils NamedError ValidationError))) | |
;; Partially FROM: | |
;; https://github.com/puppetlabs/clj-schema-tools |
This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q
- quitSPC w /
- split window verticallySPC w
- - split window horizontallySPC 1
- switch to window 1SPC 2
- switch to window 2SPC w c
- delete current window# | |
# to make it work use the multithreaded version like `make -j4` | |
# | |
BINPATH = ./node_modules/.bin | |
SRCDIR = src | |
TARGETDIR = dist | |
SUBDIRS = $(SRCDIR) $(TARGETDIR) $(BINPATH) | |
JSSRC = $(shell find $(SRCDIR)/js -type f -name '*.js') | |
CSSSRC = $(SRCDIR)/css/main.css | |
JSTARGET = $(TARGETDIR)/app.js |
(ns user) | |
(def app | |
"Intenal Helper" | |
(fnil conj [])) | |
(defprotocol PathSeq | |
(path-seq* [form path] "Helper for path-seq")) | |
(extend-protocol PathSeq |