mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 23:08:12 +08:00
explain disable
This commit is contained in:
@@ -10,6 +10,7 @@ export default class Truncate extends Component {
|
|||||||
|
|
||||||
// Uses binary-search-esque method to find largest fitting string given a maxSize
|
// Uses binary-search-esque method to find largest fitting string given a maxSize
|
||||||
// Params: font, size, bold, italic, map
|
// Params: font, size, bold, italic, map
|
||||||
|
// Memoizing requires this function to be above the memo function
|
||||||
// eslint-disable-next-line react/sort-comp
|
// eslint-disable-next-line react/sort-comp
|
||||||
static _computeLargestTruncatedString = (
|
static _computeLargestTruncatedString = (
|
||||||
str,
|
str,
|
||||||
|
|||||||
Reference in New Issue
Block a user