Skip to content

Instantly share code, notes, and snippets.

View hosembafer's full-sized avatar
💭
I may be slow to respond.

Rafayel Hovhannisyan hosembafer

💭
I may be slow to respond.
View GitHub Profile
var segments = [
{
value: 'content-partner',
type: 'STATIC',
part: 'PATH',
},
{
value: 'content partner name 111',
type: 'DYNAMIC',
entity: 'CONTENT_PARTNER',
{
data: {
headTitle: 'HOE WERKT?',
headText: 'HOE WERKT?HOE WERKT?HOE WERKT?HOE WERKT?',
headIconUuid: 'acef632f-e28f-44cd-bc6a-31a22d49f1f8',
videoUrl: 'https://www.youtube.com/watch?v=CIpOxa5hxOw',
steps: [
{
title: 'Step 1',
text: 'Step 1 long text',
{
data: {
pageTitle: 'VEELGESTELDE VRAGEN',
pageIconUuid: 'cd34154b-d009-44f8-81ae-0c080ccbb0a5',
questions: [
{
title: 'Faq title 1',
text: 'Faq description text 1',
},
{
@hosembafer
hosembafer / index.js
Created June 11, 2018 10:40
react-day-picker range + single days selection
import React from "react";
import ReactDOM from "react-dom";
import DayPicker from "react-day-picker";
import DayPickerInput from "react-day-picker/DayPickerInput";
import "react-day-picker/lib/style.css";
class Example extends React.Component {
state = {
@hosembafer
hosembafer / react-native-bold.js
Created April 15, 2018 20:46
React Native Bold
const B = (props) => <Text style={{fontWeight: "bold"}}>{props.children}</Text>;
// ...
<Text>This is a sentence <B>with</B> one word in bold</Text>