mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Adds the following properties to the components listed under them: `rel`, `download`, `target`: - anchor - button - card - fab-button - item-option - item - tab-button `disabled`: - back-button - menu-button `type`: - back-button - item-option - menu-button - segment-button fixes #16848 closes #16889 Co-authored-by: bitflower <matthias.max@bitflower.net>
21 lines
582 B
TypeScript
21 lines
582 B
TypeScript
// import { RouterDirection } from '../interface';
|
|
|
|
// TODO router direction
|
|
// The interfaces in this file are used to make sure our components
|
|
// have the correct properties defined that are needed to pass to
|
|
// the native HTML elements they render
|
|
|
|
export interface AnchorInterface {
|
|
href: string | undefined;
|
|
target: string | undefined;
|
|
rel: string | undefined;
|
|
download: string | undefined;
|
|
// routerDirection: RouterDirection;
|
|
}
|
|
|
|
export interface ButtonInterface {
|
|
type: 'submit' | 'reset' | 'button';
|
|
disabled: boolean;
|
|
// routerDirection: RouterDirection;
|
|
}
|