Skip to content

Instantly share code, notes, and snippets.

@iaremarkus
iaremarkus / .zshrc
Last active October 30, 2023 14:25
Create folder with files & populate those files to create the skeleton of a React Component
# Create component structure
function create-component() {
# If no argument is provided, prompt the user for a file name
if [[ -z "$1" ]]; then
echo -n "Enter the file name (without extension): "
read file_name
else
file_name="$1"
fi