We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some reason with the following code :
const baseColumns = [ ["🧪aaaa", ""], ["A", "B"] ]; const config = { spanningCells: [{ col: 0, row: 0, colSpan: 2 }] }; console.log(table(baseColumns, config));
We get the following error from table : subjectWidth: 6 , containerwidth:5 node_modules/table/dist/src/alignString.js
if (subjectWidth > containerWidth) { throw new Error('Subject parameter value width cannot be greater than the container width.'); }
This does not repro if I remove the emoticon
const baseColumns = [ ["aaaaaaaaaaaaaaaaaaaaaa", ""], ["A", "B"] ]; const config = { spanningCells: [{ col: 0, row: 0, colSpan: 2 }] }; console.log(table(baseColumns, config));
output.
╔═══════╗ ║ aaaaa ║ ║ aaaaa ║ ║ aaaaa ║ ║ aaaaa ║ ║ aa ║ ╟───┬───╢ ║ A │ B ║ ╚═══╧═══╝
Note this also repros if I use colSpan instead of header.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For some reason with the following code :
We get the following error from table :
subjectWidth: 6 , containerwidth:5
node_modules/table/dist/src/alignString.js
This does not repro if I remove the emoticon
output.
Note this also repros if I use colSpan instead of header.
The text was updated successfully, but these errors were encountered: