Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
small chages
Browse files Browse the repository at this point in the history
MichaelUnkey committed Jan 7, 2025

Verified

This commit was signed with the committer’s verified signature. The key has expired.
kylekurz Kyle Kurz
1 parent 19c2ce9 commit b3c14ef
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions apps/engineering/content/design/components/empty.mdx
Original file line number Diff line number Diff line change
@@ -8,24 +8,23 @@ import { EmptyExample } from "./empty.example"

## Overview

The `<Empty />` component should be used in place of a component that may contain empty data in place of the normal component.
The `<Empty />` component should be used when data is missing, replacing the normal component.

## Empty.Icon

`<Empty.Icon />` can be used to put a styled icon inside the `<Empty />` component. See `Full Example`.
The `<Empty.Icon />` can insert a styled icon inside the `<Empty />` component. See the full example for details.

## Empty.Title

The `<Empty.Title />` is uesed to display a title in the `<Empty />` component. Can be used if a more empisized text or warning is needed.
The `<Empty.Title />` is used to display a title within the `<Empty />` component. It can be utilized to emphasize text or provide a warning.

## Empty.Description

The `<Empty.Description />` is used to describe why the `<Empty />` component was used in place of some data.
The `<Empty.Description />` explains why the `<Empty />` component is displayed instead of data.

## Empty.Action

The `<Empty.Action />` is used to give the user an action to resolve having no data. If there are to many filters on a table for example a button may be added to remove table filters.

The `<Empty.Action />` offers the user an action to resolve the lack of data. For instance, if there are too many filters on a table, a button can be added to remove those filters.

## Full Example

0 comments on commit b3c14ef

Please sign in to comment.