@dvcol/neo-svelte
Version:
Neomorphic ui library for svelte 5
17 lines (16 loc) • 462 B
TypeScript
import type { NeoButtonProps } from './neo-button.model.js';
import type { IconArrowProps } from '../icons/icon.model.js';
export type NeoArrowButtonProps = NeoButtonProps & {
/**
* The hover state of the button (controls the arrow expand animation).
*/
hovered?: boolean;
/**
* Optional arrow properties.
*/
arrowProps?: IconArrowProps;
/**
* Arrow direction.
*/
direction?: IconArrowProps['direction'];
};