Skip to content

Commit

Permalink
chore(storybook): remove unneeded story file
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-willis-arcadis committed Sep 16, 2024
1 parent 10ac8a6 commit e4dd828
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
defaultModeButtonDefinitions,
getIcon,
modeSettingDefinitionsWithDropdown
} from "./mockButtons.story";
} from "./mockButtons";

const initialState = {
enabledModeButtons: ["transit"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
modeSettingDefinitionsWithDropdown,
getIcon,
defaultModeButtonDefinitions
} from "./mockButtons.story";
} from "./mockButtons";

const initialState = {
enabledModeButtons: ["transit"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import {
TrainTram
} from "@styled-icons/fa-solid";

import { ModeButtonDefinition, ModeSetting } from "@opentripplanner/types";

import { ClassicBike } from "@opentripplanner/icons/src/classic";
import React from "react";

export const defaultModeButtonDefinitions = [
export const defaultModeButtonDefinitions: ModeButtonDefinition[] = [
{
Icon: Bus,
iconName: "bus",
Expand Down Expand Up @@ -41,9 +43,8 @@ export const defaultModeButtonDefinitions = [
modes: [{ mode: "CAR" }]
}
];

// TODO: add more test settings?
export const modeSettingDefinitionsWithDropdown = [
export const modeSettingDefinitionsWithDropdown: ModeSetting[] = [
{
applicableMode: "TRANSIT",
default: "blue",
Expand Down

0 comments on commit e4dd828

Please sign in to comment.