Skip to content

Instantly share code, notes, and snippets.

View mbixby's full-sized avatar

Michal Obrocnik mbixby

View GitHub Profile
// .storybook/main.js
const excludedProps = ['as', 'forwardedAs', 'theme', 'ref']
module.exports = {
// ...
typescript: {
check: false,
checkOptions: {},
reactDocgen: react-docgen-typescript
reactDocgenTypescriptOptions: {
@mbixby
mbixby / clip.js
Created January 22, 2024 13:42
Rich text clipboard
const clipboardItem = new ClipboardItem({
"text/plain": new Blob(
['https://example.com'],
{ type: "text/plain" }
),
"text/html": new Blob(
['<a href="https://example.com">Example link</a>'],
{ type: "text/html" }
),
"application/rtf": new Blob(
@mbixby
mbixby / extensions
Last active July 23, 2024 15:48
viscose
adpyke.codesnap
andrewleedham.vscode-css-modules
bateleurio.vscode-combine-scripts
bierner.github-markdown-preview
bierner.markdown-checkbox
bierner.markdown-emoji
bierner.markdown-footnotes
bierner.markdown-mermaid
bierner.markdown-preview-github-styles
bierner.markdown-yaml-preamble
@mbixby
mbixby / waving.tsx
Created February 6, 2025 21:19
waving hand
const WavingHand = () => {
return (
<motion.div
style={{
marginBottom: '-20px',
marginRight: '-45px',
paddingBottom: '20px',
paddingRight: '45px',
display: 'inline-block',
}}