Add <Heading> stories
[MAILPOET-2770]
This commit is contained in:
16
assets/js/src/common/typography/heading/_stories/heading.tsx
Normal file
16
assets/js/src/common/typography/heading/_stories/heading.tsx
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import Heading from '../heading';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: 'Typography',
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Headings = () => (
|
||||||
|
<>
|
||||||
|
<Heading level={1}>Level 1 heading</Heading>
|
||||||
|
<Heading level={2}>Level 2 heading</Heading>
|
||||||
|
<Heading level={3}>Level 3 heading</Heading>
|
||||||
|
<Heading level={4}>Level 4 heading</Heading>
|
||||||
|
<Heading level={5}>Level 5 heading</Heading>
|
||||||
|
</>
|
||||||
|
);
|
Reference in New Issue
Block a user