---
export { Props } from './Props';
let {
size,
title,
color,
width = size,
height = size,
type,
fill = 'none',
stroke = 'none',
...props
} = {
'fill-rule': 'evenodd',
'title': 'Direct Up',
'viewBox': '0 0 24 24',
...Astro.props
}
const styleDictionary = {
'bold': '',
'broken': '',
'bulk': '',
'linear': '',
'outline': '',
'twotone': ''
}
switch (type) {
case 'bold':
case 'bulk':
case 'outline':
fill = color;
break;
case 'broken':
case 'linear':
case 'twotone':
stroke = color;
break;
default:
stroke = color;
break;
}
const toAttributeSize = (size: number) => String(size).replace(/(?<=[0-9])x$/, 'em');
if (!size) {
size = '24px';
width = size;
height = size;
}
size = toAttributeSize(size);
width = toAttributeSize(width);
height = toAttributeSize(height);
let svg = '
Direct Up';
svg += styleDictionary[type] ? styleDictionary[type] : styleDictionary['linear'];
---