diff --git a/docs/src/components/props-table.tsx b/docs/src/components/props-table.tsx
index fae3d750..e4f5b995 100644
--- a/docs/src/components/props-table.tsx
+++ b/docs/src/components/props-table.tsx
@@ -2,13 +2,14 @@ import React, { ReactElement } from 'react'
import Table from 'rc-table'
import { sortBy } from 'lodash'
+type Properties = {
+ name: string
+ type: string
+ default: string
+}
+
type Props = {
- properties: [
- {
- name: string
- type: string
- },
- ]
+ properties: Properties[]
}
const columns = [
@@ -23,14 +24,14 @@ const columns = [
dataIndex: 'type',
key: 'type',
width: 150,
- render: (_, row) => ({row.type})
+ render: (_:unknown, row:Properties) => ({row.type})
},
{
title: 'Default',
dataIndex: 'default',
key: 'default',
width: 250,
- render: (_, row) => ({row.default}
)
+ render: (_:unknown, row:Properties) => ({row.default}
)
},
{
title: 'Description',