Skip to content

CFloater

carmnk edited this page Aug 25, 2020 · 3 revisions

CFloater is a simple Layout component representing (resp. wrapping) a single, floating, customizable <div> block element

Component Characteristics

  • React class component

Dependencies

  • @emotion/core (simple css inline-styling)

Methods/Functions/Hooks

  • render()

Props

Props Description Default Valid Input
children children of div block ?, undefined, null? any JSX element
float css float "left" "left", "right"
width css width "auto" css-length (px, em, %...)
height css height "auto" css-length (px, em, %...)
margin css margin, no semicolon at end required "0px" css-length (px, em, %...)
addCSS prop to add custom css features "" string
containing any css-style
closed by semicolon

Layout Components

Data Display Components

User Input Components

Navigation

Utility

Clone this wiki locally