mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
* clean up routes and useless components * component clean up * removed redux from routes * rename file * moved useDeepEffect hook with others * removed redux, fleet, app_constants dirs; added types to utilities * style cleanup * typo fix * removed unused ts-ignore comments * removed redux packages!!! * formatting * fixed typing for simple search function * updated frontend readme
23 lines
489 B
TypeScript
23 lines
489 B
TypeScript
import React from "react";
|
|
import { Meta, Story } from "@storybook/react";
|
|
|
|
import IconToolTip from ".";
|
|
import { IIconToolTipProps } from "./IconToolTip";
|
|
|
|
import "../../index.scss";
|
|
|
|
export default {
|
|
component: IconToolTip,
|
|
title: "Components/IconToolTip",
|
|
args: {
|
|
text: "This is a tooltip",
|
|
isHtml: false,
|
|
issue: false,
|
|
},
|
|
} as Meta;
|
|
|
|
const Template: Story<IIconToolTipProps> = (props) => (
|
|
<IconToolTip {...props} />
|
|
);
|
|
|
|
export const Default = Template.bind({});
|