Skip to content

Instantly share code, notes, and snippets.

@edoves
edoves / StoryBook.md
Last active November 14, 2024 08:27
Initial Stoybook setup

StoryBook Gist

import { Meta, StoryObj } from "@storybook/react"
import { Component } from "./GameScreen"

const meta: Meta<typeof Component> = {
  component: Component,
  title: "Formapp/Player/Sessions/DefaultStoryName",
  tags: ["autodocs"],
}
@edoves
edoves / mongodb_cheat_sheet.md
Last active October 30, 2024 15:22 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@edoves
edoves / export_index_sample.md
Created October 30, 2024 15:18
Better export setting up inside index.js

Better export setting up inside index.js

export { default as Navbar } from './Navbar/Navbar';
export { default as Footer } from './Footer/Footer';
export { default as InfoSection } from './InfoSection/InfoSection';
export { default as Pricing } from './Pricing/Pricing';