How to use the hig-vanilla.Table._partials function in hig-vanilla

To help you get started, we’ve selected a few hig-vanilla 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 Autodesk / hig / packages / react / src / adapters / Table / TextHeadCellAdapter.js View on Github external
function TextHeadCellAdapter(props) {
  return (
    
      {adapterProps => (
        <div>
          
          
          
          </div>
github Autodesk / hig / packages / react / src / adapters / Table / TableRowAdapter.js View on Github external
function TableRowAdapter(props) {
  return (
    
      {adapterProps =&gt; (
        <div>
          
            {(instance, value) =&gt;
              value ? instance.select() : instance.deselect()}
          
          
          
            {props.children}
          
        </div>
      )}
    
  );
github Autodesk / hig / packages / react / src / adapters / Table / TextCellAdapter.js View on Github external
)}
    
  );
}

TextCellAdapter.propTypes = {
  text: PropTypes.string,
  detail: PropTypes.string,
  alignment: PropTypes.oneOf(
    VanillaTable._partials.TableRow._partials.TextCell.AvailableAlignments
  )
};

TextCellAdapter.defaultProps = {
  text: undefined,
  detail: undefined,
  alignment: undefined
};

export default TextCellAdapter;
github Autodesk / hig / packages / react / src / adapters / Table / SlotHeadCellAdapter.js View on Github external
render() {
    return (
      
        {adapterProps =&gt; (
          <div>
            
            
            
              {this.props.children}
            
          </div>
        )}
      
    );
github Autodesk / hig / packages / react / src / adapters / Table / SlotCellAdapter.js View on Github external
render() {
    return (
      
        {adapterProps =&gt; (
          <div>
            
            
              {this.props.children}
            
          </div>
        )}
      
    );
  }
}
github Autodesk / hig / packages / react / src / adapters / Table / TextCellAdapter.js View on Github external
function TextCellAdapter(props) {
  return (
    
      {adapterProps =&gt; (
        <div>
          
          
          
          </div>
github Autodesk / hig / packages / react / src / adapters / Table / TableHeadAdapter.js View on Github external
function TableHeadAdapter(props) {
  return (
    
      {adapterProps =&gt; (
        <div>
          
          
            {props.children}
          
        </div>
      )}
    
  );
}