
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@tableau/tableau-ui
Advanced tools
Tableau UI is a React component library containing UI components which have the look-and-feel of Tableau.
npm install @tableau/tableau-ui
Tableau UI requires React. If you aren't familiar with React, check out their Getting Started document.
If you have a TypeScript project you can simply import the components and prop interfaces that you want to use, e.g.:
import * as React from 'react';
import { Button, ButtonProps } from '@tableau/tableau-ui';
const buttonProps: ButtonProps = { kind: 'outline', children: 'OK' };
const button = React.createElement(Button, buttonProps);
If you're using JSX, this example might look more like:
import * as React from 'react';
import { Button } from '@tableau/tableau-ui';
const button = <Button kind='outline'>OK</Button>
Or, you could also choose to include the bundled javascript file in your web project just as you would any other javascript library. You will then be able to reference tableau-ui with the global TableauUI
variable, e.g.:
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="tableau-ui.min.js"></script>
const button = React.createElement(TableauUI.Button, { kind: 'outline', children: 'OK' });
Please refer to Tableau UI Components for documentation and samples.
FAQs
React UI components that have the look-and-feel of Tableau.
We found that @tableau/tableau-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.