Skip to content

Instantly share code, notes, and snippets.

View PrashantIndurkar's full-sized avatar
🌱
Learning & Building

Prashant Indurkar PrashantIndurkar

🌱
Learning & Building
View GitHub Profile
@mjbalcueva
mjbalcueva / password-input.tsx
Last active November 16, 2024 11:15
shadcn ui custom password input
'use client'
import * as React from 'react'
import { EyeIcon, EyeOffIcon } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { Input, type InputProps } from '@/components/ui/input'
import { cn } from '@/lib/utils'
const PasswordInput = React.forwardRef<HTMLInputElement, InputProps>(({ className, ...props }, ref) => {
@Zekfad
Zekfad / conventional-commits.md
Last active November 16, 2024 04:49
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries