docs/developer_docs/components/ui/cachedlabel.mdx
import { StoryWithControls } from '../../../src/components/StorybookWrapper';
The CachedLabel component from Superset's UI library.
<StoryWithControls component="CachedLabel" props={{}} controls={[ { name: "cachedTimestamp", label: "Cached Timestamp", type: "text", description: "ISO timestamp of when the data was cached" }, { name: "className", label: "Class Name", type: "text", description: "Additional CSS class for the label" } ]} />
Edit the code below to experiment with the component:
function Demo() {
return (
<CachedLabel
// Add props here
/>
);
}
import { CachedLabel } from '@superset/components';
:::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file. :::