mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-22 10:52:16 +00:00
add margin when multiple Text elements are next to each others (#5)
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
58a48b28fd
commit
fe6b552a69
@ -1,6 +1,9 @@
|
||||
.text
|
||||
margin 0
|
||||
|
||||
+ .text
|
||||
margin-top 8px
|
||||
|
||||
.white
|
||||
color white
|
||||
|
||||
|
15
src/dzeio/Text/Text.stories.tsx
Normal file
15
src/dzeio/Text/Text.stories.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import { Meta } from '@storybook/react/types-6-0'
|
||||
import React from 'react'
|
||||
import Component from '.'
|
||||
|
||||
export default {
|
||||
title: 'DZEIO/Text',
|
||||
component: Component
|
||||
} as Meta
|
||||
|
||||
export const Basic = (args: any) => (
|
||||
<>
|
||||
<Component {...args}>TExt</Component>
|
||||
<Component {...args}>TExt</Component>
|
||||
</>
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user