Skip to content

Instantly share code, notes, and snippets.

View georgekrax's full-sized avatar
🖐️
Student

George Krachtopoulos georgekrax

🖐️
Student
View GitHub Profile
@georgekrax
georgekrax / useClassnames.json
Created November 13, 2020 20:21
`useClassnames` hook snippet for adding custom classNames to components & better Developer-UX
"useClassnames": {
"prefix": "useClassnames",
"body": [
"const [classNames, rest] = useClassnames(\"\", props);"
],
"description": "Creates a useClassnames hook, with its default return array"
},
@georgekrax
georgekrax / typescriptreact.json
Last active November 13, 2020 21:06
VS Code Snippets for TypeScript React & Next.js
{
"TS React Dual Export": {
"prefix": "rfac",
"body": [
"import React from \"react\"",
"",
"export type Props = {",
"",
"}",
"",
@georgekrax
georgekrax / commit-emojis.md
Last active March 21, 2024 14:51
List of emojis for GitHub commit messages
Emoji Purpose MD Markup Prefix
📄 Generic message :page_facing_up:
📐 Improve the format / structure of the code / files :triangular_ruler: [IMPROVE]:
Improve performance :zap: [IMPROVE]:
🚀 Improve something (anything) :rocket: [IMPROVE]:
📝 Write docs :memo: [PROD]:
💡 New idea