feat(text): add text component and documentation

also adds to the breaking changes file
This commit is contained in:
Brandy Carney
2018-01-09 11:52:18 -05:00
parent b622224c55
commit aa6ace9280
10 changed files with 314 additions and 0 deletions

View File

@ -2870,6 +2870,37 @@ declare global {
}
import {
Text as IonText
} from './components/text/text';
declare global {
interface HTMLIonTextElement extends IonText, HTMLElement {
}
var HTMLIonTextElement: {
prototype: HTMLIonTextElement;
new (): HTMLIonTextElement;
};
interface HTMLElementTagNameMap {
"ion-text": HTMLIonTextElement;
}
interface ElementTagNameMap {
"ion-text": HTMLIonTextElement;
}
namespace JSX {
interface IntrinsicElements {
"ion-text": JSXElements.IonTextAttributes;
}
}
namespace JSXElements {
export interface IonTextAttributes extends HTMLAttributes {
color?: string;
mode?: 'ios' | 'md';
}
}
}
import {
Textarea as IonTextarea
} from './components/textarea/textarea';