Skip to content

Commit

Permalink
cleanup of top level storybook. Fix typing (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdrdak committed Jul 6, 2020
1 parent a637dda commit 8d432cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@
"@lightspeed/config-prettier": "^0.1.2",
"@lightspeed/config-typescript": "^0.2.0",
"@lightspeed/eslint-config": "^1.1.1",
"@percy/storybook": "^3.2.0",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-backgrounds": "^5.2.8",
"@storybook/addon-info": "^5.2.8",
"@storybook/addon-knobs": "^5.2.8",
"@storybook/addon-options": "^5.2.8",
"@storybook/addons": "^5.2.8",
"@storybook/react": "^5.2.8",
"@testing-library/react": "^10.0.5",
"@testing-library/jest-dom": "^5.9.0",
"@types/classnames": "^2.2.7",
Expand Down Expand Up @@ -117,5 +109,8 @@
},
"browserslist": [
"extends @lightspeed/browserslist-config"
]
],
"publishConfig": {
"tag": "next"
}
}
2 changes: 1 addition & 1 deletion packages/flame/src/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface AlertProps {
/** Icon for the alert */
icon?: React.ReactNode;
/** Text for the alert's title */
title?: string;
title: string;
}
/**
* An alert can be a warning following an action, a helpful tip or an important update about a system issue. There are four types of alert and each has a different function.
Expand Down
1 change: 0 additions & 1 deletion packages/flame/src/Alert/AlertInCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Text } from '../Text';

interface Props {
type?: string;
isHidden?: string;
noCloseBtn?: boolean;
/** Function called when Close button is tapped */
onClose?: Function;
Expand Down

0 comments on commit 8d432cc

Please sign in to comment.