Skip to content

Commit 2c8abc9

Browse files
init
1 parent 42c6410 commit 2c8abc9

32 files changed

Lines changed: 122 additions & 1046 deletions

package-lock.json

Lines changed: 36 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "addon-media",
2+
"name": "addon-posters",
33
"version": "0.0.0",
4-
"description": "A addon for creating printable media",
4+
"description": "A Storybook addon for creating printable posters.",
55
"keywords": [
66
"storybook-addon"
77
],
88
"repository": {
99
"type": "git",
10-
"url": "https://a.com"
10+
"url": "https://github.com/techletariats/addon-posters"
1111
},
1212
"license": "MIT",
1313
"author": "Clayton Cook <me@claytonleonardcook.com>",

src/components/Board/index.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React, { type BaseHTMLAttributes } from "react";
2+
3+
export namespace Board {
4+
export interface Props extends BaseHTMLAttributes<HTMLOrSVGElement> {
5+
}
6+
}
7+
8+
export function Board({ children, ...props }: Board.Props) {
9+
return (
10+
<svg {...props}>
11+
{children}
12+
</svg>
13+
)
14+
}

0 commit comments

Comments
 (0)