How to use the @pluralsight/ps-design-system-halo.gapSizes function in @pluralsight/ps-design-system-halo

To help you get started, we’ve selected a few @pluralsight/ps-design-system-halo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pluralsight / design-system / packages / dropdown / src / react / index.js View on Github external
return (
    <>
      {isOpen && (
        <div>
      )}
      <label style="">
        {allProps.label &amp;&amp; (
          <div>{allProps.label}</div>
        )}
        <div>
          
            <div>
              <button disabled="{allProps.disabled}">
                <span aria-hidden="">
                  {longestMenuItemState.label || allProps.placeholder}
                </span>
                <span>
                  {selectedLabel || allProps.placeholder}
                </span>
              </button>
              <div></div></div></div></label></div>
github pluralsight / design-system / packages / textarea / src / react / index.js View on Github external
const TextArea = (props, context) =&gt; {
  const themeName = useTheme()
  const allProps = { ...props, themeName }

  return (
    <label>
      {allProps.label &amp;&amp; (
        <div>{allProps.label}</div>
      )}
      <div>
        
          <textarea style="{{" placeholder="{allProps.placeholder}" disabled="{allProps.disabled}">        &lt;/Halo&gt;
        {allProps.error &amp;&amp; (
          &lt;div {...styles.error(allProps)}&gt;
            &lt;WarningIcon /&gt;
          &lt;/div&gt;
        )}
      &lt;/div&gt;
      {allProps.subLabel &amp;&amp; (</textarea></div></label>
github pluralsight / design-system / packages / datepicker / src / react / index.js View on Github external
}

  const { className, style, ...rest } = props

  return (
    <label style="{style}">
      {props.label &amp;&amp; (
        <div>{props.label}</div>
      )}

      
        <div>
          

          

          </div></label>
github pluralsight / design-system / packages / textinput / src / react / index.js View on Github external
subLabel,
    ...inputProps
  } = allProps

  const { fieldRef, inputRef } = useMultipleRefs(forwardedRef)

  return (
    <label>
      {label &amp;&amp; <div>{label}</div>}

      <div>
        
          <div>
            <input placeholder="{allProps.placeholder}" disabled="{allProps.disabled}">
            {fieldAfter}
          </div>
        

        {icon &amp;&amp; <div>{icon}</div>}

        {error &amp;&amp; (
          <div></div></div></label>

@pluralsight/ps-design-system-halo

Design System component for halo ui

Apache-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages