Skip to content

Commit

Permalink
Add header tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlong9278 committed Feb 28, 2020
1 parent 8b0510b commit 42b6516
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ export const Trigger = ({ data, onClick = () => {} }): JSX.Element => {
const label = getLabel(data);

return (
<div css={triggerContainerStyle}>
<div css={triggerContentStyle}>
<div css={titleStyle}>
<div css={triggerContainerStyle} className="trigger">
<div css={triggerContentStyle} className="trigger__content">
<div css={titleStyle} className="trigger__content-header">
<Icon iconName="Flow" style={triggerIconStyle} />
<span>{name}</span>
</div>
<div css={subtitleStyle}>{label}</div>
<div css={subtitleStyle} className="trigger__content-label">
{label}
</div>
</div>
</div>
);
Expand Down

0 comments on commit 42b6516

Please sign in to comment.