Skip to content

Commit

Permalink
Adding @usewaypoint/block-button (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cohitre authored Feb 27, 2024
1 parent 6525600 commit 927894f
Show file tree
Hide file tree
Showing 11 changed files with 1,459 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-avatar/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export const AvatarPropsDefaults = {
size: 64,
imageUrl: '',
alt: '',
shape: 'square' as const,
};
shape: 'square',
} as const;

export function Avatar({ style, props }: AvatarProps) {
const size = props?.size ?? AvatarPropsDefaults.size;
Expand Down
8 changes: 8 additions & 0 deletions packages/block-button/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.editorconfig
.envrc
.eslintignore
.eslintrc.json
.prettierrc
jest.config.ts
src
tsconfig.json
19 changes: 19 additions & 0 deletions packages/block-button/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2024 Carlos Rodriguez-Rosario

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions packages/block-button/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @usewaypoint/block-button

Button component for use with the EmailBuilder package.
Loading

0 comments on commit 927894f

Please sign in to comment.