Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
export const withArgTypes = (component, args) => component.argTypes = args |
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
module Control = { | |
type t | |
type _control = | |
| Radio | |
| Select | |
| Text | |
| Boolean | |
| Number({min: int, max: int, step: option<int>}) | |
| Range({min: int, max: int, step: option<int>}) |
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
module Styles = { | |
open Emotion | |
let rotate = keyframes({ | |
"100%": { | |
"transform": "rotate(360deg)", | |
}, | |
}) | |
let dash = keyframes({ |
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
@module("@emotion/css") external css: {..} => string = "css" | |
@module("@emotion/css") external rawCss: string => string = "css" | |
@module("@emotion/css") external keyframes: {..} => string = "keyframes" | |
@module("@emotion/css") external injectGlobal: {..} => unit = "injectGlobal" | |
@module("@emotion/css") external compose: (string, string) => string = "compose" |
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 createEmotionServer from "@emotion/server/create-instance"; | |
import NextDocument, { Html, Main, Head, NextScript } from "next/document"; | |
import { cache } from "@emotion/css"; | |
class Document extends NextDocument { | |
static async getInitialProps(ctx) { | |
const page = await ctx.renderPage(); | |
const initialProps = await NextDocument.getInitialProps(ctx); | |
const { css, ids } = renderStatic(page.html); |
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
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
lerna-debug.log* | |
.pnpm-debug.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) |
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
{ | |
"name": "spacy", | |
"namespace": false, | |
"reason": { | |
"react-jsx": 3 | |
}, | |
"bs-dependencies": [], | |
"ppx-flags": [], | |
"sources": [ | |
{ |
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
[ | |
{ | |
"id":1, | |
"name":"Compras da semana", | |
"completed":false, | |
"createdAt":"2021-10-23T16:52:45.875Z" | |
}, | |
{ | |
"id":2, | |
"name":"Compras da semana", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder