/** * Clear Button Adornment (internal) * * Shared clear (×) button used by clearable input fields * (TextField, PasswordField, AmountInput). * * Theming: target the `dsl-field__clear` class to override icon color/size, * or pass a custom icon via the field's `clearIcon` prop. */ export interface ClearButtonProps { /** Called when the button is clicked */ onClear: () => void; /** Custom icon (already rendered as ReactNode) - defaults to the built-in × icon */ icon?: React.ReactNode; /** * Edge placement - pass false when another adornment button (e.g. the * password visibility toggle) renders after this one, so only the last * button gets the negative end margin */ edge?: 'end' | false; } export declare function ClearButton({ onClear, icon, edge }: ClearButtonProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ClearButton.d.ts.map