This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import Form, { | |
FormThemeProvider, | |
Input, | |
Select, | |
FormButton, | |
} from 'react-standalone-form' | |
const BasicFormExample = () => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.zoomLevel": 0, | |
"workbench.colorTheme": "Atom One Dark", | |
"sasslint.resolvePathsRelativeToConfig": true, | |
"editor.fontSize": 13, | |
"editor.tabSize": 2, | |
"editor.tabCompletion": true, | |
"editor.renderWhitespace": "boundary", | |
"editor.rulers": [80], | |
"editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# HACKED BY KOKOS - Timestamp added to prompt. | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const story = { | |
id: 12345, | |
slug: 'pionner-in-marketing', | |
type: 'story', // One of two accepted values (story|graph) | |
category: 'People', | |
subcategory: 'Maryam Banikarim', | |
publisher: 'huffpost' // uniqie key from dictionary that we have to create. | |
title: 'A pionner in Marketing', // Is already. | |
description: 'I\'m surprised you had the courage to take the responsibility yourself. You mean it controls your actions? Remember, a Jedi can feel the Force flowing through him. But with the blast shield down, I can&aposm;t even see! How am I supposed to fight?', // Is already. | |
image: { // Is already, but as a string, not object and links works only on production. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Helper function to generate String of class names for a block in BEM naming | |
// convention. Enter a block name (string) and modifiers (array) to return a | |
// string with block name class and all modifier classes. | |
export default function bemHelper(block, modifiers) { | |
if (modifiers) { | |
const classesArray = modifiers.map(modifier => `${block}--${modifier}`); | |
const classes = classesArray.join(' '); | |
return `${block} ${classes}`; | |
} else { | |
return block; |