Skip to content

Instantly share code, notes, and snippets.

View vmarcosp's full-sized avatar
No action can be virtuous unless it is freely chosen

Marcos Oliveira vmarcosp

No action can be virtuous unless it is freely chosen
View GitHub Profile
@vmarcosp
vmarcosp / bsconfig.json
Created September 21, 2021 23:46
Configuração do compilador do ReScript - Curso EcmaScript2077
{
"name": "rescript-vanilla",
"sources": [
{
"dir": "src",
"subdirs": true
}
],
"package-specs": [
{
@vmarcosp
vmarcosp / FramerMotion.res
Created August 9, 2021 23:03
Simple bindings for framer-motion
module Elements = {
type motionElement
type t = [#div | #section]
@module("React")
external createElement: (motionElement, 'props, React.element) => React.element = "createElement"
@module("framer-motion") @scope("motion")
external div: motionElement = "div"
@vmarcosp
vmarcosp / links-live-rescriptbr.md
Last active November 25, 2022 16:22
Links de todas as referências, redes sociais e sites utilizados nas lives de ReScript
module FramerMotion = {
type animateValue
type controlStatus = [#visible | #hidden]
type controls = {start: (. controlStatus) => unit}
type animate = [#controlled(controls) | #visible | #hidden]
@deriving(abstract)
type transition = {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.