feat: remove option
This commit is contained in:
@@ -1,11 +1,5 @@
|
|||||||
---
|
---
|
||||||
import Icon from '@components/ui/icons/icon.astro';
|
import Icon from '@components/ui/icons/icon.astro';
|
||||||
|
|
||||||
interface Props {
|
|
||||||
noArrow?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { noArrow } = Astro.props;
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<button
|
<button
|
||||||
@@ -14,7 +8,7 @@ const { noArrow } = Astro.props;
|
|||||||
data-astro-prefetch
|
data-astro-prefetch
|
||||||
>
|
>
|
||||||
<div class="button-text-title flex relative items-center text-center">
|
<div class="button-text-title flex relative items-center text-center">
|
||||||
{noArrow ? null : <Icon name="arrowLeft" />}
|
<Icon name="arrowLeft" />
|
||||||
<span class="ml-2">
|
<span class="ml-2">
|
||||||
Go Back
|
Go Back
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user