Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dtable-ui-component

Package Overview
Dependencies
Maintainers
0
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtable-ui-component

[document](https://seatable.github.io/dtable-ui-component/docs/)

  • 5.2.11-alpha6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by19.15%
Maintainers
0
Weekly downloads
 
Created
Source

dtable-ui-component

document

Font icons

When using dtable-ui-component component library, you need to import dtable-font font icon.

  1. If the dtable-font font icon has been referenced in the application, dtable-ui-component can be used directly
  2. If the dtable-font font icon is not referenced in the application, you need to import the corresponding font icon when using dtable-ui-component
import { CollaboratorEditor } from 'dtable-ui-component';
import 'dtable-ui-component/assets/dtable-font.css';

Internationalization (I18n)

If your UI component requires localization, you need to call the localization function.

import { setLocale } from 'dtable-ui-component/lib/lang';

let lang = 'en';
setLocale(lang);

On-demand loading of components

If you want to use on-demand loading, you need to install the following third-party libraries.

npm install babel-plugin-import --save-dev

then add the following content to the .babelrc file of your project

{
  "plugins": [
    [
      "import", {
        "libraryName": "dtable-ui-component",
        "libraryDirectory": "lib",
        "camel2DashComponentName": false,
        "camel2UnderlineComponentName": false
      },
      "dtable-ui-component"
    ],
  ]
}

Long Text Formatter

If your project only uses a simple long text formatter, you can reference the SimpleLongTextFormatter component.

import { SimpleLongTextFormatter } from 'dtable-ui-component';

FAQs

Package last updated on 26 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc