Skip to content

Commit

Permalink
docs(update): 📝 beta as deps in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Nov 9, 2020
1 parent 0820b0a commit c79dc71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/create-preview-tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Props {

export function createPreviewTabs(props: Props) {
const { js, ts, css, deps: extraDeps = [] } = props;
const deps = ["[email protected]alpha.6", ...extraDeps];
const deps = ["[email protected]beta.0", ...extraDeps];
const tabs = [];

if (js) {
Expand Down
4 changes: 2 additions & 2 deletions src/toast/stories/CSSAnimatedToast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs";

const sandboxJs = CreateToastSandbox({
type: "jsx",
deps: ["[email protected]alpha.6", "react-transition-group"],
deps: ["[email protected]beta.0", "react-transition-group"],
});
const sandboxTs = CreateToastSandbox({
type: "tsx",
deps: ["[email protected]alpha.6", "react-transition-group"],
deps: ["[email protected]beta.0", "react-transition-group"],
});

export default {
Expand Down
4 changes: 2 additions & 2 deletions src/toast/stories/ReactSpringToast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs";

const sandboxJs = CreateToastSandbox({
type: "jsx",
deps: ["[email protected]alpha.6", "react-spring"],
deps: ["[email protected]beta.0", "react-spring"],
});
const sandboxTs = CreateToastSandbox({
type: "tsx",
deps: ["[email protected]alpha.6", "react-spring"],
deps: ["[email protected]beta.0", "react-spring"],
});

export default {
Expand Down
4 changes: 2 additions & 2 deletions src/toast/stories/Toast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import { CreateToastSandbox } from "../../../scripts/create-preview-tabs";

const sandboxJs = CreateToastSandbox({
type: "jsx",
deps: ["[email protected]alpha.6"],
deps: ["[email protected]beta.0"],
});
const sandboxTs = CreateToastSandbox({
type: "tsx",
deps: ["[email protected]alpha.6"],
deps: ["[email protected]beta.0"],
});

export default {
Expand Down

0 comments on commit c79dc71

Please sign in to comment.