@furo/layout
Version:
Layout components for furo
29 lines (28 loc) • 955 B
TypeScript
import * as React from "react";
export interface FuroEmptySpacer extends React.HTMLAttributes<HTMLElement> {
/**
* Attribute flex for furo-horizontal-flex and furo-vertical-flex
*/
flex?: boolean;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
/**
* `furo-empty-spacer` Takes the place in furo-horizontal-flex or a furo-vertical-flex.
*
* <furo-demo-snippet source>
* <template>
* <furo-horizontal-flex>
* <div>small</div>
* <!-- A furo-empty-spacer will fill the available space. -->
* <furo-empty-spacer style="border: 1px dashed lightgray;"></furo-empty-spacer>
* <div>small</div>
* </furo-horizontal-flex>
* </template>
* </furo-demo-snippet>
*/
"furo-empty-spacer": FuroEmptySpacer;
}
}
}