Skip to content

Commit

Permalink
feat(store-ui): adding list atom (#918)
Browse files Browse the repository at this point in the history
Create List component as an Atom.
  • Loading branch information
bentoper authored and VTEX committed Sep 16, 2021
1 parent 327a141 commit bd7a550
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/store-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export type { SkeletonProps } from './atoms/Skeleton'
export { default as Spinner } from './atoms/Spinner'
export type { SpinnerProps } from './atoms/Spinner'

export { default as List } from './atoms/List'
export type { ListProps } from './atoms/List'

// Molecules
export { default as Bullets } from './molecules/Bullets'
export type { BulletsProps } from './molecules/Bullets'
Expand Down
4 changes: 4 additions & 0 deletions packages/store-ui/src/typings/mdx.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.mdx' {
const MDXComponent: (props) => JSX.Element
export default MDXComponent
}
5 changes: 5 additions & 0 deletions packages/store-ui/src/typings/utils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { ArgType } from '@storybook/react'

export type ComponentArgTypes<T> = {
[K in keyof T]: ArgType
}

0 comments on commit bd7a550

Please sign in to comment.