Skip to content

Commit be8c7de

Browse files
committed
fix(datepicker): don't include datepicker in the library before it's finished
BREAKING CHANGE: datepicker is removed from the library
1 parent b253c28 commit be8c7de

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed
Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
import React from 'react';
1+
// ⭕️ DON'T SHOW DATEPICKER BEFORE IT'S FINISHED AND TESTED ⭕️
22

3-
import { DatePicker } from 'react95';
3+
// import React from 'react';
4+
// import { DatePicker } from 'react95';
45

5-
export default {
6-
title: 'DatePicker',
7-
component: DatePicker,
8-
decorators: [
9-
story => (
10-
<div
11-
style={{
12-
padding: '5rem',
13-
background: 'teal'
14-
}}
15-
>
16-
{story()}
17-
</div>
18-
)
19-
]
20-
};
6+
// export default {
7+
// title: 'DatePicker',
8+
// component: DatePicker,
9+
// decorators: [
10+
// story => (
11+
// <div
12+
// style={{
13+
// padding: '5rem',
14+
// background: 'teal'
15+
// }}
16+
// >
17+
// {story()}
18+
// </div>
19+
// )
20+
// ]
21+
// };
2122

22-
export const Default = () => (
23-
<DatePicker onAccept={date => console.log(date)} />
24-
);
23+
// export const Default = () => (
24+
// <DatePicker onAccept={date => console.log(date)} />
25+
// );
2526

26-
Default.story = {
27-
name: 'default'
28-
};
27+
// Default.story = {
28+
// name: 'default'
29+
// };

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export { default as Button } from './Button/Button';
1010
export { default as Checkbox } from './Checkbox/Checkbox';
1111
export { default as ColorInput } from './ColorInput/ColorInput';
1212
export { default as Cutout } from './Cutout/Cutout';
13-
export { default as DatePicker } from './DatePicker/DatePicker';
1413
export { default as Divider } from './Divider/Divider';
1514
export { default as Fieldset } from './Fieldset/Fieldset';
1615
export { default as Hourglass } from './Hourglass/Hourglass';

0 commit comments

Comments
 (0)