Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose JavaScript Reactable function. #403

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: reactable
Type: Package
Title: Interactive Data Tables for R
Version: 0.4.4.9000
Version: 0.4.4.9001
Authors@R: c(
person("Greg", "Lin", email = "[email protected]", role = c("aut", "cre")),
person("Tanner", "Linsley", role = c("ctb", "cph"), comment = "React Table library"),
Expand Down
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
Loading