Skip to content

Commit

Permalink
renamed to NonInteractiveTable
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnIckler committed Jun 13, 2023
1 parent 6a29e10 commit 5283459
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/NonInteractiveList/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import type { Meta, StoryObj } from '@storybook/react'
import NonInteractiveList from './NonInteractiveList'
import NonInteractiveTable from './NonInteractiveTable'

const meta: Meta<typeof NonInteractiveList> = {
title: 'WCA-Components/NonInteractiveList',
component: NonInteractiveList,
const meta: Meta<typeof NonInteractiveTable> = {
title: 'WCA-Components/NonInteractiveTable',
component: NonInteractiveTable,
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
}
export default meta

type Story = StoryObj<typeof NonInteractiveList>
type Story = StoryObj<typeof NonInteractiveTable>

export const Competitors: Story = {
// More on args: https://storybook.js.org/docs/react/writing-stories/args
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './noninteractivelist.scss'
import './noninteractivetable.scss'
import { EventId } from '@wca/helpers'
import React from 'react'
import CubingIcon from '../CubingIcon'
Expand All @@ -24,7 +24,7 @@ interface ListProps {
loading: boolean
}

export default function NonInteractiveList({
export default function NonInteractiveTable({
rows,
header,
loading,
Expand Down
1 change: 1 addition & 0 deletions src/components/NonInteractiveTable/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './NonInteractiveTable'
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"incremental": true, // Enable incremental compilation by reading/writing information from prior compilations to a file on disk
"isolatedModules": true, // Unconditionally emit imports for unresolved files
"jsx": "react", // Support JSX in .tsx files
"lib": ["dom", "dom.iterable", "esnext"], // NonInteractiveList of library files to be included in the compilation
"lib": ["dom", "dom.iterable", "esnext"], // NonInteractiveTable of library files to be included in the compilation
"module": "esnext", // Specify module code generation
"moduleResolution": "node", // Resolve modules using Node.js style
"noEmit": false, // Do not emit output (meaning do not compile code, only perform type checking)
Expand Down

0 comments on commit 5283459

Please sign in to comment.