Module

Lumi.Components2.Text

Package
purescript-lumi-components
Repository
lumihq/purescript-lumi-components

#Text Source

data Text

#TextProps Source

type TextProps :: Row Typetype TextProps = (component :: Text, content :: String, type :: Maybe TextType)

#TextType Source

#text Source

text :: LumiComponent TextProps

Inline piece of text whose content prop is a String. Elements of this component should preferentially be used only where an inline piece of text with no bottom margin is expected.

For block-level, independent text elements, please use paragraph, paragraph_, or the header components defined in this module.

#TextModifier Source

type TextModifier c = forall r. PropsModifier (component :: c, type :: Maybe TextType | r)

The c type parameter lets us constrain the type of component to which a text modifier may be applied: Text, Header or any.

#strong Source

strong :: forall c. TextModifier c

#emphasized Source

emphasized :: forall c. TextModifier c

#muted Source

muted :: forall c. TextModifier c

#color Source

color :: forall c. (forall a. ColorMap a -> a) -> TextModifier c

#noMargin Source

noMargin :: forall c. TextModifier c

#truncate Source

truncate :: forall c. TextModifier c

#ParagraphProps Source

type ParagraphProps :: Row Typetype ParagraphProps = (component :: Text, content :: Array JSX, type :: Maybe TextType)

#paragraph_ Source

paragraph_ :: LumiComponent TextProps

A variant of paragraph whose content prop is a String.

#paragraph Source

paragraph :: LumiComponent ParagraphProps

A paragraph is a block-level element that contains text and/or other inline-level elements, such as images. Paragraphs also define a bottom margin so that multiple paragraphs in a column can read nicely with proper spacing.

Paragraphs are used for laying out chunks of text as concrete, individual and independent elements in a page.

#boldBody_ Source

#Header Source

data Header

#HeaderProps Source

type HeaderProps :: Row Typetype HeaderProps = (component :: Header, content :: String, type :: Maybe TextType)
Modules
JSS
Lumi.Components
Lumi.Components.Badge
Lumi.Components.Border
Lumi.Components.Breadcrumb
Lumi.Components.Button
Lumi.Components.ButtonGroup
Lumi.Components.Card
Lumi.Components.CardGrid
Lumi.Components.Color
Lumi.Components.Column
Lumi.Components.Details
Lumi.Components.Divider
Lumi.Components.DropdownButton
Lumi.Components.EditableTable
Lumi.Components.FetchCache
Lumi.Components.FixedPrecisionInput
Lumi.Components.Form
Lumi.Components.Form.Defaults
Lumi.Components.Form.Internal
Lumi.Components.Form.Table
Lumi.Components.Form.Validation
Lumi.Components.Icon
Lumi.Components.Images
Lumi.Components.Input
Lumi.Components.InputGroup
Lumi.Components.LabeledField
Lumi.Components.Layouts
Lumi.Components.Layouts.Centered
Lumi.Components.Layouts.OneColumnWithHeader
Lumi.Components.Layouts.Tabs
Lumi.Components.Link
Lumi.Components.List
Lumi.Components.Loader
Lumi.Components.Lockup
Lumi.Components.Modal
Lumi.Components.NativeSelect
Lumi.Components.Navigation
Lumi.Components.Orientation
Lumi.Components.Pagination
Lumi.Components.Pill
Lumi.Components.Progress
Lumi.Components.Responsive
Lumi.Components.Row
Lumi.Components.Select
Lumi.Components.Select.Backend
Lumi.Components.Size
Lumi.Components.Slider
Lumi.Components.Spacing
Lumi.Components.Status
Lumi.Components.StatusSlat
Lumi.Components.Styles
Lumi.Components.Svg
Lumi.Components.Tab
Lumi.Components.Table
Lumi.Components.Table.FilterDropdown
Lumi.Components.Text
Lumi.Components.Textarea
Lumi.Components.Toast
Lumi.Components.Tooltip
Lumi.Components.Upload
Lumi.Components.Wizard
Lumi.Components.ZIndex
Lumi.Components2.Box
Lumi.Components2.Button
Lumi.Components2.ButtonGroup
Lumi.Components2.Clip
Lumi.Components2.Image
Lumi.Components2.Link
Lumi.Components2.PasswordStrength
Lumi.Components2.QRCode
Lumi.Components2.ScrollObserver
Lumi.Components2.Slat
Lumi.Components2.Tabs
Lumi.Components2.Text
Lumi.Styles
Lumi.Styles.Border
Lumi.Styles.Box
Lumi.Styles.Clip
Lumi.Styles.Link
Lumi.Styles.Loader
Lumi.Styles.Responsive
Lumi.Styles.Slat
Lumi.Styles.Theme