Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
applyTheme() {
if (this.theme) {
if (typeof this.theme === 'string') {
Grid.applyTheme(this.theme);
} else {
Grid.applyTheme(this.theme.name, this.theme.value);
}
}
},
// @deprecated. You should use it via importing tui-grid directly.
applyTheme() {
if (this.theme) {
if (typeof this.theme === 'string') {
Grid.applyTheme(this.theme);
} else {
Grid.applyTheme(this.theme.name, this.theme.value);
}
}
},
// @deprecated. You should use it via importing tui-grid directly.
const Story = () => {
TuiGrid.applyTheme(theme);
return ;
};
const Story = () => {
TuiGrid.applyTheme(theme);
return ;
};