@dopt/semantic-data-layer-card
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

@dopt/semantic-data-layer-card

An interface definition for Dopt's card component.

export interface Card {
  id: string;

  title: string | null | undefined;
  body: RichText | null | undefined;

  completeLabel: string | null | undefined;
  dismissLabel: string | null | undefined;

  active: boolean;

  completed: boolean;
  dismissed: boolean;

  complete: () => void;
  dismiss: () => void;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @dopt/semantic-data-layer-card

Weekly Downloads

651

Version

1.2.3

License

MIT

Unpacked Size

3.8 kB

Total Files

10

Last publish

Collaborators

  • kseth
  • alexchantastic
  • pankaj-avhad-dopt
  • chasebish
  • joemckenney