How to use the baseui/input.SIZE.compact function in baseui

To help you get started, we’ve selected a few baseui 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 uber / manifold / modules / manifold / src / components / performance-comparison-control-container.js View on Github external
searchable={false}
            onChange={this._onUpdateSegmentationMethod}
            value={
              isManualSegmentation
                ? {id: SEGMENTATION_METHOD.MANUAL}
                : {id: SEGMENTATION_METHOD.AUTO}
            }
          />
        
        
          <select value="{baseCols.map(colId" size="{SIZE.compact}"> columnDefs[colId])}
            labelKey="name"
            valueKey="name"
            onChange={this._onUpdateBaseCols}
            searchable={true}
            multi={true}
          /&gt;
        
        {!isManualSegmentation &amp;&amp; (
          
            </select>
github uber / baseweb / documentation-site / components / yard / theme-editor.tsx View on Github external
<label>
      <div></div>
      <input value="{color}" placeholder="{themeInit[themeKey]}" size="{SIZE.compact}"> setColor((e.target as HTMLInputElement).value)}
        overrides={{Root: {style: {width: '100px'}}}}
      /&gt;
      </label>
github uber / baseweb / documentation-site / examples / input / sizes.js View on Github external
export default () =&gt; (
  
    <input placeholder="compact" size="{SIZE.compact}">
    <br>
    <input placeholder="default">
    <br>
    <input placeholder="large" size="{SIZE.large}">
  
);
github uber / baseweb / documentation-site / examples / pin-code / size.js View on Github external
export default () =&gt; {
  const [valuesA, setValuesA] = React.useState(['', '', '', '']);
  const [valuesB, setValuesB] = React.useState(['', '', '', '']);
  const [valuesC, setValuesC] = React.useState(['', '', '', '']);
  return (
    
       {
          setValuesA(values);
        }}
      /&gt;
      <br>
       {
          setValuesB(values);
        }}
      /&gt;
      <br>
github uber / react-view / src / theme-editor.tsx View on Github external
<label>
      <div></div>
      <input value="{color}" placeholder="{themeInit[themeKey]}" size="{SIZE.compact}"> setColor((e.target as HTMLInputElement).value)}
        overrides={{Root: {style: {width: '100px'}}}}
      /&gt;
      </label>
github uber / react-view / src / base / theme-editor.tsx View on Github external
<label>
      <div></div>
      <input value="{color}" placeholder="{themeInit[themeKey]}" size="{SIZE.compact}"> setColor((e.target as HTMLInputElement).value)}
        overrides={{Root: {style: {width: '100px'}}}}
      /&gt;
      </label>
github uber / baseweb / documentation-site / examples / pin-code / size.tsx View on Github external
export default () =&gt; {
  const [valuesA, setValuesA] = React.useState(['', '', '', '']);
  const [valuesB, setValuesB] = React.useState(['', '', '', '']);
  const [valuesC, setValuesC] = React.useState(['', '', '', '']);
  return (
    
       {
          setValuesA(values);
        }}
      /&gt;
      <br>
       {
          setValuesB(values);
        }}
      /&gt;
      <br>