Skip to content

Instantly share code, notes, and snippets.

View mellumeriktest's full-sized avatar

mellumeriktest

View GitHub Profile
'use client'
import { ReactNode } from 'react'
import { getSizeStyles, Size } from './size'
import { getVariantBackgroundStyles, getVariantButtonTextStyles, getVariantOutlineStyles, Variant } from './variant'
import { getCommonButtonStyles } from './tokens'
interface ButtonProps {
children: ReactNode
className?: string
{
"extends": "@repo/typescript-config/nextjs.json",
"compilerOptions": {
"target": "es2015",
"plugins": [
{
"name": "next"
}
],
"outDir": "dist",
import { getInputSizeStyles, Size } from './size'
import { HTMLInputTypeAttribute, useState } from 'react'
import { getVariantBorderStyles, getVariantInputTextStyles, getVariantOutlineStyles, Variant } from './variant'
import { getCommonInputStyles } from './tokens'
import { noop } from 'lodash'
interface InputProps {
variant?: Variant
size?: Size
placeholder?: string
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
referentialIntegrity = "prisma"
}
generator client {
{
"extends": "@repo/typescript-config/nextjs.json",
"compilerOptions": {
"target": "es2015",
"plugins": [
{
"name": "next"
}
],
"outDir": "dist",
{
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
"allowImportingTsExtensions": false,
"noEmit": false,
"moduleResolution": "NodeNext",
"module": "NodeNext",
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
{
"type": "module",
"name": "recipestacker-api",
"description": "This project was bootstrapped with Fastify-CLI.",
"version": "1.0.0",
"module": "dist/app.js",
"main": "app.ts",
"directories": {
"test": "test"
},