Skip to content

Commit

Permalink
fix: error in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Barrior committed Jul 25, 2024
1 parent 0c4e706 commit fad0178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/search-table-react/010-table-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,14 @@ const postDeleteBill = (_id: string) => sleep()
const Demo = () => {
const STableRef = useRef<ISearchTableRef>(null)

const actionItems = (record: Record<string, any>) => {
const actionItems = (record: Record<string, any>, index: number) => {
return [
{
text: (
<a
href="https://schema-render.js.org/"
style={{ color: 'green', padding: '0 7px' }}
key={`link-${index}`}
>
编辑
</a>
Expand Down

0 comments on commit fad0178

Please sign in to comment.