Skip to content

Commit

Permalink
chore: add button baseline sample
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Oct 30, 2023
1 parent 73d3842 commit 1d542e2
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 51 deletions.
13 changes: 13 additions & 0 deletions packages/samples/react/src/components/button/button-baselined.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';
import { KolButton } from '@public-ui/react';

import { FC } from 'react';

export const ButtonBaselined: FC = () => (
<div className="inline-block">
<KolButton _label="Label-Text"></KolButton>
<KolButton _label="Label-Text"></KolButton>
<KolButton _label="Label-Text"></KolButton>
<KolButton _icons="codicon codicon-reactions" _label="Label-Text with Icon"></KolButton>
</div>
);
2 changes: 2 additions & 0 deletions packages/samples/react/src/components/button/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { ButtonIcons } from './icons';

import { ButtonWidth } from './width';
import { ButtonAccessKey } from './access-key';
import { ButtonBaselined } from './button-baselined';

export const BUTTON_ROUTES: Routes = {
button: {
Expand All @@ -16,5 +17,6 @@ export const BUTTON_ROUTES: Routes = {
icons: ButtonIcons,
width: ButtonWidth,
'access-key': ButtonAccessKey,
'button-baselined': ButtonBaselined,
},
};
102 changes: 51 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d542e2

Please sign in to comment.