Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

feat(Menu): add prop interfaces #155

Merged
merged 3 commits into from
Aug 29, 2018
Merged

Conversation

kuzhelov
Copy link
Contributor

This PR introduces props interface for Menu and MenuItem components, as part of #117

@codecov
Copy link

codecov bot commented Aug 29, 2018

Codecov Report

Merging #155 into master will decrease coverage by 0.34%.
The diff coverage is 23.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage   68.03%   67.68%   -0.35%     
==========================================
  Files         101      101              
  Lines        1364     1371       +7     
  Branches      263      272       +9     
==========================================
  Hits          928      928              
- Misses        434      441       +7     
  Partials        2        2
Impacted Files Coverage Δ
src/themes/teams/components/Menu/menuStyles.ts 20% <0%> (ø) ⬆️
src/themes/teams/components/Menu/menuItemStyles.ts 7.89% <10%> (-0.81%) ⬇️
src/components/Menu/MenuItem.tsx 92.3% <100%> (ø) ⬆️
src/components/Menu/Menu.tsx 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9fd04d8...474ebb7. Read the comment docs.

iconOnly?: boolean
items?: ItemShorthand[]
pills?: boolean
pointing?: boolean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once #123 is merged, pointing?: boolean | 'start' | 'end'

index?: number
onClick?: ComponentEventHandler<IMenuItemProps>
pills?: boolean
pointing?: boolean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same here.

@kuzhelov kuzhelov merged commit cb1f011 into master Aug 29, 2018
@kuzhelov kuzhelov deleted the feat/add-prop-interfaces-for-menu branch August 29, 2018 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants