Skip to content

Commit

Permalink
example: ditch folders under ./components/todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed Nov 27, 2023
1 parent 057289d commit 88cae83
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/components/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TodoList } from './todo/list'
import { TodoList } from './todo'

export {
TodoList,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { html } from '../../../../lib/one'
import { html } from '../../../lib/one'

const TodoInput = {
name: 'todo-input',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { html } from '../../../../lib/one'
import { html } from '../../../lib/one'

const TodoItem = {
name: 'todo-item',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TodoItem } from '../item'
import { html } from '../../../../lib/one'
import { TodoInput } from '../input'
import { TodoItem, TodoInput } from '.'
import { html } from '../../../lib/one'

const TodoList = {
name: 'todo-list',
Expand Down
9 changes: 9 additions & 0 deletions example/components/todo/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { TodoInput } from './TodoInput'
import { TodoItem } from './TodoItem'
import { TodoList } from './TodoList'

export {
TodoInput,
TodoItem,
TodoList,
}

0 comments on commit 88cae83

Please sign in to comment.