You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Additions
documentTheme property. This can be either a static property or a function (passes props as its only argument). This allows you to provide all the classes/styles, fonts, images, and settings. This also gets validated and will log a warning if you pass it an invalid property. It will also log all the available options.
Document => ClientDocument: You can still use the Document import but it may be removed in the future.
ClientDocument: The client side document. Creating using this method will expose the open, download, and a new toFile functions.
ServerDocument: The server side document. Creating using this method will expose the saveTo(directory) method. This also uses a slightly different import and API than the client side and is still in beta.
Allows setting width, colSpan, height as a string prop
Allows setting the table layout via a layout props. Defaults to the default tableLayout defined in the documentTheme.
Deprecations
styleSheet function: Use the css property in the documentTheme
tableLayouts function: Use the tableLayouts property in the documentTheme
documentSettings function: Pass the properties to the documentTheme