Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Releases: digitalcube/dc-pattern-lib-v2

DashboardDimmer can dismiss

09 Jun 09:13

Choose a tag to compare

Can close Dimmer from the parent component.

import { DashboardDimmer } from 'dc-pattern-lib';

const T = () => {
  const [isOpen, updateState] = useState(true)

  setTimeout(() => {
    updateState(!isOpen)
  }, 1000);
  return <DashboardDimmer isOpen={isOpen} />
}

FIx build config

09 Jun 09:10

Choose a tag to compare

Fixed

  • Not working in v1.5 #23