chore: starter template
This commit is contained in:
24
packages/components/index.ts
Normal file
24
packages/components/index.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export { UserCard } from './src/UserCard'
|
||||
export type { User, UserCardProps } from './src/UserCard'
|
||||
export { stubQuery } from './src/fixtures/stubQuery'
|
||||
export { stubMutation } from './src/fixtures/stubMutation'
|
||||
export { EmptyState } from './src/EmptyState'
|
||||
export { NotFoundState } from './src/NotFoundState'
|
||||
export { PageLoader } from './src/PageLoader'
|
||||
export { ServerErrorState } from './src/ServerErrorState'
|
||||
|
||||
// Layout primitives — compose these instead of hand-rolling page chrome.
|
||||
export { PageHeader } from './src/PageHeader'
|
||||
export type { PageHeaderProps } from './src/PageHeader'
|
||||
export { Panel } from './src/Panel'
|
||||
export type { PanelProps } from './src/Panel'
|
||||
export { StatCard } from './src/StatCard'
|
||||
export type { StatCardProps } from './src/StatCard'
|
||||
export { StatGrid } from './src/StatGrid'
|
||||
export type { StatGridProps } from './src/StatGrid'
|
||||
|
||||
// Data presentation — feed these the output of a list/stats RPC you implement.
|
||||
export { DataTable } from './src/DataTable'
|
||||
export type { DataTableProps, DataTableColumn } from './src/DataTable'
|
||||
export { BarChart } from './src/BarChart'
|
||||
export type { BarChartProps, BarChartDatum } from './src/BarChart'
|
||||
Reference in New Issue
Block a user