-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup updated in preparation for release 0.0.1 (#51)
Signed-off-by: Benjamin Perez <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,800 additions
and
435 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { MouseEventHandler, ReactNode } from "react"; | ||
export interface ButtonProps { | ||
id: string; | ||
name?: string; | ||
label?: string; | ||
variant?: "regular" | "callAction" | "secondary"; | ||
icon?: ReactNode; | ||
iconLocation?: "start" | "end"; | ||
fullWidth?: boolean; | ||
disabled?: boolean; | ||
collapseOnSmall?: boolean; | ||
onClick?: MouseEventHandler<HTMLButtonElement>; | ||
id: string; | ||
name?: string; | ||
label?: string; | ||
variant?: "regular" | "callAction" | "secondary"; | ||
icon?: ReactNode; | ||
iconLocation?: "start" | "end"; | ||
fullWidth?: boolean; | ||
disabled?: boolean; | ||
collapseOnSmall?: boolean; | ||
onClick?: MouseEventHandler<HTMLButtonElement>; | ||
} |
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 { FC } from "react"; | ||
import { ThemeHandlerProps } from "./ThemeHandler.types"; | ||
declare const ThemeHandler: FC<ThemeHandlerProps>; | ||
export default ThemeHandler; |
5 changes: 5 additions & 0 deletions
5
dist/cjs/types/components/ThemeHandler/ThemeHandler.types.d.ts
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,5 @@ | ||
import { ReactNode } from "react"; | ||
export interface ThemeHandlerProps { | ||
darkMode?: boolean; | ||
children: ReactNode; | ||
} |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export { default as Button } from "./Button/Button"; | ||
export { default as ThemeHandler } from "./ThemeHandler/ThemeHandler"; |
Oops, something went wrong.