-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benjamin Perez <[email protected]>
- Loading branch information
Showing
16 changed files
with
14,983 additions
and
14,723 deletions.
There are no files selected for viewing
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import React, { FC } from "react"; | ||
import { TagProps } from "./Tag.types"; | ||
declare const Tag: FC<TagProps & React.HTMLAttributes<HTMLSpanElement>>; | ||
export default Tag; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { CSSObject } from "styled-components"; | ||
export interface TagMainProps { | ||
label: string; | ||
onDelete?: (item: string) => void; | ||
id: string; | ||
} | ||
export interface TagConstructProps { | ||
color?: "default" | "secondary" | "warn" | "alert" | "ok"; | ||
sx?: CSSObject; | ||
} | ||
export type TagProps = TagMainProps & TagConstructProps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.