UNPKG

semantic-styled-ui

Version:

Set of UI components based of Semantic UI with Styled Components

28 lines (25 loc) 603 B
import * as React from "react" import { PaddedVerticalProp, SpacingProp } from "../types" export interface PageSegmentProps { /** * format to appear less prominent (grey background) */ secondary?: boolean /** * if/where spacing around element exists */ padded?: PaddedVerticalProp /** * control amount of spacing around element */ padding?: SpacingProp /** * pass to `Container` component to narrow the width of the segment */ text?: boolean /** * primary content */ children?: React.ReactNode } declare const PageSegment: React.FC<PageSegmentProps>