Skip to content

Commit

Permalink
[docs] Rename interface headCell to HeadCell (#18093)
Browse files Browse the repository at this point in the history
  • Loading branch information
EngMoathOmar authored and oliviertassinari committed Oct 29, 2019
1 parent 4657c5e commit 8944ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/tables/EnhancedTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ function getSorting<K extends keyof any>(
return order === 'desc' ? (a, b) => desc(a, b, orderBy) : (a, b) => -desc(a, b, orderBy);
}

interface headCell {
interface HeadCell {
disablePadding: boolean;
id: keyof Data;
label: string;
numeric: boolean;
}

const headCells: headCell[] = [
const headCells: HeadCell[] = [
{ id: 'name', numeric: false, disablePadding: true, label: 'Dessert (100g serving)' },
{ id: 'calories', numeric: true, disablePadding: false, label: 'Calories' },
{ id: 'fat', numeric: true, disablePadding: false, label: 'Fat (g)' },
Expand Down

0 comments on commit 8944ab7

Please sign in to comment.