Skip to content

Instantly share code, notes, and snippets.

View aalokt89's full-sized avatar

Aalok Trivedi aalokt89

View GitHub Profile
@aalokt89
aalokt89 / random user component
Last active September 27, 2018 16:55
get random user from randomuser.me api
import * as React from "react";
import { PropertyControls, ControlType } from "framer";
import { UserCell } from "./canvas";
// Define type of property
interface Props {
width: number;
height: number;
gender: string;
}
@aalokt89
aalokt89 / LayerComponent.tsx
Created August 26, 2018 18:36
Framer X Data and props Animation
import * as React from "react";
import {
Frame,
Data,
Animatable,
animate,
PropertyControls,
ControlType
} from "framer";
@aalokt89
aalokt89 / ImagePost.tsx
Last active June 16, 2019 18:09
Framer X Stack with design and code components
import * as React from "react";
import { Frame, Stack, PropertyControls, ControlType } from "framer";
import { Avatar, PostHeader, PostImage, PostButtonGroup } from "./canvas";
// Define type of property
interface Props {
username: string;
timeStamp: string;
postText: string;
width: number;