Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Support nested "no mode" indicator #8

Open
RylanH opened this issue Feb 28, 2017 · 0 comments
Open

Support nested "no mode" indicator #8

RylanH opened this issue Feb 28, 2017 · 0 comments

Comments

@RylanH
Copy link
Contributor

RylanH commented Feb 28, 2017

Its annoying to have to do either this:

withLabel: ({ props: }) => !!props.label,
withoutLabel: ({ props: }) => !props.label,
...
padding: {
  $withLabel: 5,
  $withoutLabel: 7
}
...or...
padding: 5,
$withLabel: {
  padding: 7,
}

Instead it might be nice to do

withLabel: ({ props: }) => !!props.label,
...
padding: {
  $default: 7,
  $withLabel: 5,
}
@RylanH RylanH changed the title Annoying to have mode and inverse of mode Support nested "no mode" indicator May 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant