-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/preview background color #25
Conversation
# Conflicts: # packages/styleguide/package-lock.json # packages/styleguide/package.json
packages/styleguide/package.json
Outdated
"react-element-to-jsx-string": "~14.0.1", | ||
"react-frame-component": "~4.0.0", | ||
"react-markings": "~1.3.0", | ||
"react-dom": "~16.3.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co sa tu deje, preco sa znizuju verzie balickov?
packages/styleguide/package.json
Outdated
"classnames": "~2.2.5", | ||
"common-tags": "~1.8.0", | ||
"firacode": "~1.205.0", | ||
"npm": "^6.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Toto tu asi nema byt ci?
componentDidMount() { | ||
const previewBackgroundsArray = []; | ||
|
||
Object.keys(previewBackgrounds).map(key => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const previewBackgroundsArray = Object.keys(previewBackgrounds).map(key => {
return {
value: previewBackgrounds[key],
label: key
};
});
Nejak takto je to o moc lepsi zvyk
componentDidMount() { | ||
const previewBackgroundsArray = []; | ||
|
||
Object.keys(previewBackgrounds).map(key => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ich potrebne davat previewBackgrounds
vobec do statu? Oni sa nemozu menit dynamicky. Ty ich len potrebujes v render()
len dostat do stavu { value, label }
ci?
Added select feature to changing background of Preview component