gadgets
Version:
Reusable React UI widgets - This is my widget library. There are many like it, but this one is mine...
36 lines (35 loc) • 833 B
TypeScript
/**
* A wrapper for the <br /> tag. This respects the sizing base
* property setting.
*
* ## Examples:
*
* ```javascript
* import {Break} from 'gadgets';
* <Break sizing={Sizing.small} />
* ```
*
* ## API
* #### Events
* N/A
*
* #### Styles
* - `ui-break` - placed on the root `<br>` tag
*
* #### Properties
* - `n=1 {number}` - repeat count for the component. The default is one Break
* This is used to create N consecutive breaks.
*
* @module Break
*/
import { BaseComponent, BaseProps, BaseState } from "../shared";
export interface BreakProps extends BaseProps {
fontSize?: string;
n?: number;
}
export declare class Break extends BaseComponent<BreakProps, BaseState> {
static readonly defaultProps: BreakProps;
constructor(props: BaseProps);
render(): any[];
}
export default Break;