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

Feature - Drawer component [Dev]Β #58

@omarefg

Description

@omarefg

Checklist βœ…

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary πŸ’‘

Applications based on Platzily UI needs a way to move between pages, this is why the drawer component is needed. It a provides a way to layout subcomponents that can have the responsibility of moving the user through pages.

Screenshot from 2021-11-14 09-18-20

The drawer will be called by the end users like this:

import { Drawer } from '@platzily-ui/components'

const MyComponent = () => {
  return (
    <Drawer/>
  )
}

And it will be receive the following props:

  • All HTML props for Aside element
  • isOpen (related to the drawer state) - required
  • children (The drawer must be extendable, so all content insided will be passed as children) -required
  • width (The width of the drawer, must use platzily ui guideline as default) - not required

Requirements 🌈

  • The component will be tested by unit testing

Motivation πŸ”¦

Providing a way to move through the differente modules of an app.

Metadata

Metadata

Assignees

Labels

componentsA components featurefeatureNew feature or requestweight:5something that need work

Type

No type
No fields configured for issues without a type.

Projects

Status
Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions