irradiant-svelte
Version:
Easily build sleek, minimalistic web apps with this easy to use and powerful svelte component library.
37 lines (30 loc) • 717 B
TypeScript
/// <reference types="svelte" />
export interface ColumnProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["span"]> {
/**
* User defined classes
* @default ""
*/
className?: string;
/**
* Disables all styling, allowing you to further customize this component
* @default false
*/
styled?: boolean;
/**
* If this column is part of a flexbox grid
* @default false
*/
flex?: boolean;
/**
* If this column is displayed as inline and not inline-block
* @default false
*/
inline?: boolean;
}
export default class Column {
$$prop_def: ColumnProps;
$$slot_def: {
default: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}