Skip to content

Commit

Permalink
Merge pull request #403 from krystian8207/main
Browse files Browse the repository at this point in the history
Expose JavaScript Reactable function.
  • Loading branch information
glin authored Jan 20, 2025
2 parents ab2c0fe + 6edd35e commit c4e9b91
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/reactable.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/htmlwidgets/reactable.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/htmlwidgets/reactable.server.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/htmlwidgets/reactable.server.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion srcjs/Reactable.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function setPageSize(tableId, pageSize) {
getInstance(tableId).setPageSize(pageSize)
}

export default function Reactable({
export function Reactable({
data,
columns,
columnGroups,
Expand Down
2 changes: 1 addition & 1 deletion srcjs/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { reactWidget } from './reactR'

import Reactable from './Reactable'
import { Reactable } from './Reactable'

reactWidget('reactable', 'output', {
Reactable
Expand Down
2 changes: 1 addition & 1 deletion srcjs/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as ReactDOMServer from 'react-dom/server'
import TestRenderer from 'react-test-renderer'
import createEmotionServer from '@emotion/server/create-instance'

import Reactable from './Reactable'
import { Reactable } from './Reactable'
import { ReactableData } from './Reactable'
import { evaluateStringMember } from './htmlwidgets'
import './intl-polyfill'
Expand Down

0 comments on commit c4e9b91

Please sign in to comment.