import React from 'react';
import {
BasicText,
SecondaryText,
LargerText,
EmphaseText,
StatusText,
SmallerText,
ChartTitleText,
Text,
Link,
} from '../src/lib/components/text/Text.component';
import { Wrapper } from './common';
import styled from 'styled-components';
import { Stack } from '../src/lib';
const TextWrapper = styled(Wrapper)`
min-height: 0;
`;
export default {
title: 'Components/Styling/Text',
component: StatusText,
argTypes: {
status: {
control: {
disable: true,
},
},
children: {
control: {
disable: true,
},
},
},
};
export const basicText = {
render: ({}: any) => {
return (
basic text
);
},
};
export const secondaryText = {
render: ({}: any) => {
return (
secondary text
);
},
};
export const largerText = {
render: ({}: any) => {
return (
larger text
);
},
};
export const emphaseText = {
render: ({}: any) => {
return (
emphase text
);
},
};
export const statusText = {
render: ({}: any) => {
return (
healthy status text
warning status text
critical status text
);
},
};
export const smallerText = {
render: ({}: any) => {
return (
smaller text
);
},
};
export const chartTitleText = {
render: ({}: any) => {
return (
chart title text
);
},
};
export const TextStory = {
render: ({}) => {
return (
Basic
Explicitely basic
Chart title
Larger
Smaller
With secondary color
With secondary color and emphazed
With status color
Link
);
},
};