Skip to content

Instantly share code, notes, and snippets.

View kevinashworth's full-sized avatar
🏠
Working from home

Kevin Ashworth kevinashworth

🏠
Working from home
View GitHub Profile
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Box from '@material-ui/core/Box';
import Container from '@material-ui/core/Container';
import Grid from '@material-ui/core/Grid';
import NavBreadcrumbs from './NavBreadcrumbs';
import TitleSection from './TitleSection';
const useStyles = makeStyles({
addPad: {
Date: Sat, 31 Jul 2021 09:05:48 -0700
Subject: [PATCH] Declare classes in a component rather than pass them as props
---
src/pages/TagCreator/TopicTagSection.js | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/pages/TagCreator/TopicTagSection.js b/src/pages/TagCreator/TopicTagSection.js
index 3c92fd4..fb8d29a 100644
--- a/src/pages/TagCreator/TopicTagSection.js
import React, { useState } from 'react';
import Box from '@material-ui/core/Box';
import Button from '@material-ui/core/Button';
import FormControl from '@material-ui/core/FormControl';
import InputLabel from '@material-ui/core/InputLabel';
import MenuItem from '@material-ui/core/MenuItem';
import Select from '@material-ui/core/Select';
import Typography from '@material-ui/core/Typography';
import FilterListIcon from '@material-ui/icons/FilterList';
import { makeStyles } from '@material-ui/styles';
@kevinashworth
kevinashworth / keybindings.json
Created October 19, 2021 14:30
VSCode Keyboard Shortcuts - for macOS - swap Command+Number with Control+Number
[
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{