[based on a true story]
So. Your friend's about to teach you how to make a website. Great!
You make a file, and you save it as 'index.html'. Why it's called 'index' isn't really explained to you, but whatever.
You type the following.
hello world
[based on a true story]
So. Your friend's about to teach you how to make a website. Great!
You make a file, and you save it as 'index.html'. Why it's called 'index' isn't really explained to you, but whatever.
You type the following.
hello world
I made a little styling lib called glam
(some features are in development)
let's start off with the simplest use case. we'll make an 'index.html' page,
and assume we've setup our js bundler to output bundle.js
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import { makeDecorator } from '@storybook/addons'; | |
import reactElementToJSXString from 'react-element-to-jsx-string' | |
import base64url from 'base64-url'; | |
const renderJsx = (code, options = {}) => { | |
if (typeof code === 'undefined') { | |
return console.warn('Undefined component'); | |
} |