How to use @pluralsight/ps-design-system-emptystate - 4 common examples

To help you get started, we’ve selected a few @pluralsight/ps-design-system-emptystate 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 / site / pages / components / emptystate.js View on Github external
get names() {
    return Object.values(EmptyState.Illustration.names)
  }
github pluralsight / design-system / packages / site / pages / components / emptystate.js View on Github external
])
          ],
          'EmptyState.Heading': [
            PropTypes.row([
              'as',
              null,
              null,
              <code>h1</code>,
              'heading tagName'
            ])
          ],
          'EmptyState.Illustration': [
            PropTypes.row([
              'name',
              PropTypes.union(EmptyState.Illustration.names),
              true,
              null,
              <span>
                the illustration name (from <code>Illustration.names</code>)
              </span>
            ])
          ]
        }}
      /&gt;
      In-app example
      <p>Default full page empty state</p>
github pluralsight / design-system / packages / site / pages / components / emptystate.js View on Github external
constructor(props) {
    super(props)

    this.sizes = Object.values(EmptyState.sizes)
    this.handleSizeChange = this.handleSizeChange.bind(this)
    this.state = { activeSize: this.sizes[this.sizes.length - 1] }
  }
github pluralsight / design-system / packages / site / pages / components / emptystate.js View on Github external
<code>
        import EmptyState from '@pluralsight/ps-design-system-emptystate/react'
      </code>
      EmptyState.Action]),
            PropTypes.row(['caption', <code>EmptyState.Caption</code>]),
            PropTypes.row(['heading', <code>EmptyState.Heading</code>, true]),
            PropTypes.row([
              'illustration',
              <code>EmptyState.Illustration</code>
            ]),
            PropTypes.row([
              'size',
              PropTypes.union(EmptyState.sizes),
              false,
              null,
              <span>
                disable resizing layout and set explicit size (from{' '}
                <code>EmptyState.sizes</code>)
              </span>
            ])
          ],
          'EmptyState.Heading': [
            PropTypes.row([
              'as',
              null,
              null,
              <code>h1</code>,
              'heading tagName'
            ])

@pluralsight/ps-design-system-emptystate

EmptyState UI Component for the Pluralsight Design System

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Similar packages