Skip to content

Conversation

siddharthkp
Copy link
Member

<SelectPanel.Footer>
  <SelectPanel.SecondaryAction variant="button">Edit labels</SelectPanel.SecondaryAction>
</SelectPanel.Footer>
Secondary action button
<SelectPanel.Footer>
  <SelectPanel.SecondaryAction variant="link">Edit labels</SelectPanel.SecondaryAction>
</SelectPanel.Footer>
Secondary action link
<SelectPanel.Footer>
  <SelectPanel.SecondaryAction variant="checkbox">Set as default</SelectPanel.SecondaryAction>
</SelectPanel.Footer>
Secondary action checkbox

This comment was marked as resolved.

@siddharthkp siddharthkp self-assigned this Jan 13, 2024
Copy link
Contributor

github-actions bot commented Jan 13, 2024

size-limit report 📦

Path Size
dist/browser.esm.js 104.47 KB (0%)
dist/browser.umd.js 105.08 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-4145 January 13, 2024 19:31 Inactive
@siddharthkp siddharthkp marked this pull request as ready for review January 13, 2024 19:33
@siddharthkp siddharthkp requested a review from a team January 13, 2024 19:33
)
}

const FooterContext = React.createContext(false)
Copy link
Member

Choose a reason for hiding this comment

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

minor: we should add a type to the context (probably it is in your to-do but just a reminder 🙂 )

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated :)


const SecondaryLink: React.FC<LinkProps> = props => {
return (
// @ts-ignore TODO: is as prop is not recognised by button?
Copy link
Member

Choose a reason for hiding this comment

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

I think it is but maybe with "a" instead of Link?

Copy link
Member Author

@siddharthkp siddharthkp Jan 22, 2024

Choose a reason for hiding this comment

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

Nah, that also throws some type errors 🤔

Will put an task to triage and clean up at the end of the project!

@siddharthkp siddharthkp added this pull request to the merge queue Jan 23, 2024
Merged via the queue into main with commit 996475f Jan 23, 2024
@siddharthkp siddharthkp deleted the drafts-selectpanel-secondary-actions branch January 23, 2024 08:11
@primer primer bot mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants