-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(number-input): 🚸 add more storybook examples
- Loading branch information
1 parent
9758c0d
commit 62bf811
Showing
7 changed files
with
108 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { createComponent } from "reakit-system"; | ||
import { createNumberInputHook } from "./createNumberInputHook"; | ||
|
||
import { createNumberInputButtonsHook } from "./createNumberInputButtonsHook"; | ||
|
||
export const NumberInputDecrementButton = createComponent({ | ||
as: "button", | ||
memo: true, | ||
useHook: createNumberInputHook("decrement"), | ||
useHook: createNumberInputButtonsHook("decrement"), | ||
}); |
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,8 +1,9 @@ | ||
import { createComponent } from "reakit-system"; | ||
import { createNumberInputHook } from "./createNumberInputHook"; | ||
|
||
import { createNumberInputButtonsHook } from "./createNumberInputButtonsHook"; | ||
|
||
export const NumberInputIncrementButton = createComponent({ | ||
as: "button", | ||
memo: true, | ||
useHook: createNumberInputHook("increment"), | ||
useHook: createNumberInputButtonsHook("increment"), | ||
}); |
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
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