Skip to content

Commit

Permalink
added SPACING_UNIT to code inject
Browse files Browse the repository at this point in the history
  • Loading branch information
samithaf committed Jan 29, 2024
1 parent 51f2033 commit e4b8935
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/site/src/components/code/code.inject-components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ export {
} from './components/demos';
export { Hr, Body } from './components/utils';

/**
* Export space related constants
*/
export { SPACING_UNIT } from '@westpac/ui/tailwind';

export const SPACING_SCALE = [
{ value: 0.5, className: 'pr-0.5' },
{ value: 1, className: 'pr-1' },
Expand Down

0 comments on commit e4b8935

Please sign in to comment.