Skip to content

Commit 822def7

Browse files
committed
scaffolds minor subcomponents
1 parent aaf9366 commit 822def7

16 files changed

+100
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
import React from 'react';
3+
import { render } from '@testing-library/react';
4+
5+
import { CalendarCell } from '.';
6+
7+
describe('packages/calendar-cell', () => {
8+
test('condition', () => {
9+
10+
})
11+
})
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
import { css } from '@leafygreen-ui/emotion';
3+
4+
export const baseStyles = css``;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
import React from 'react';
3+
4+
// TODO: forwardRef
5+
export function CalendarCell({}) {
6+
return <div>your content here</div>;
7+
}
8+
9+
CalendarCell.displayName = 'CalendarCell';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export interface CalendarCellProps {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
import React from 'react';
3+
import { render } from '@testing-library/react';
4+
5+
import { CalendarGrid } from '.';
6+
7+
describe('packages/calendar-grid', () => {
8+
test('condition', () => {
9+
10+
})
11+
})
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
import { css } from '@leafygreen-ui/emotion';
3+
4+
export const baseStyles = css``;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
import React from 'react';
3+
4+
// TODO: forwardRef
5+
export function CalendarGrid({}) {
6+
return <div>your content here</div>;
7+
}
8+
9+
CalendarGrid.displayName = 'CalendarGrid';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export interface CalendarGridProps {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
import React from 'react';
3+
import { render } from '@testing-library/react';
4+
5+
import { DateInputSegment } from '.';
6+
7+
describe('packages/date-input-segment', () => {
8+
test('condition', () => {
9+
10+
})
11+
})
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
import { css } from '@leafygreen-ui/emotion';
3+
4+
export const baseStyles = css``;

0 commit comments

Comments
 (0)