# Component/Divider
> Props: component-divider.props.txt
## Examples
### Base
```tsx
{
args: {
direction: 'horizontal'
},
render: args => {
const argStyle = {
horizontal: 40,
vertical: 80
};
return
{(['small', 'medium'] as Array).map(size => {
return
size: {size}
;
})}
;
}
}
```
### Horizontal Spacing
```tsx
{
args: {
direction: 'horizontal'
},
render: args => {
const argStyle = {
horizontal: 40,
vertical: 80
};
return
{(['small', 'medium'] as Array).map(size => {
return
size: {size}
;
})}
;
},
args: {
spacing: 24
}
}
```
### Vertical
```tsx
{
args: {
direction: 'horizontal'
},
render: args => {
const argStyle = {
horizontal: 40,
vertical: 80
};
return
{(['small', 'medium'] as Array).map(size => {
return
size: {size}
;
})}
;
},
args: {
direction: 'vertical'
}
}
```
### Vertical Spacing
```tsx
{
args: {
direction: 'horizontal'
},
render: args => {
const argStyle = {
horizontal: 40,
vertical: 80
};
return
{(['small', 'medium'] as Array).map(size => {
return
size: {size}
;
})}
;
},
args: {
direction: 'vertical',
spacing: 24
}
}
```