fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
16 lines (15 loc) • 737 B
TypeScript
import React from "react";
import { CommonAndHTMLProps } from '../Element/constants';
import { SpanTypes } from './types';
export interface PortionCustomProps {
desktopSpan?: SpanTypes;
tabletLandscapeSpan?: SpanTypes;
tabletPortraitSpan?: SpanTypes;
mobileSpan?: SpanTypes;
isHorizontal?: boolean;
role?: string;
}
export type PortionElementType = HTMLDivElement;
export type PortionProps = Omit<CommonAndHTMLProps<PortionElementType>, keyof PortionCustomProps> & PortionCustomProps;
export declare const Portion: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLDivElement>, keyof PortionCustomProps> & PortionCustomProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Portion.d.ts.map