diff --git a/packages/icons/src/index.tsx b/packages/icons/src/index.tsx index e4471c3..6bed982 100644 --- a/packages/icons/src/index.tsx +++ b/packages/icons/src/index.tsx @@ -1,2 +1,4 @@ +export { LockedIcon } from './lock-icon' export { MembersIcon } from './members-icon' export { OptionsIcon } from './options-icon' +export type { IconProps } from './types' diff --git a/packages/icons/src/lock-icon.tsx b/packages/icons/src/lock-icon.tsx new file mode 100644 index 0000000..bae7410 --- /dev/null +++ b/packages/icons/src/lock-icon.tsx @@ -0,0 +1,24 @@ +import type { IconProps } from './types' + +export function LockedIcon(props: IconProps) { + const { color = 'currentColor', size = 20, ...rest } = props + + // FIXME: not need to differentiate sizes in the designs + return ( + + + + ) +} diff --git a/packages/icons/src/members-icon.tsx b/packages/icons/src/members-icon.tsx index a5eb597..83f3a9f 100644 --- a/packages/icons/src/members-icon.tsx +++ b/packages/icons/src/members-icon.tsx @@ -1,12 +1,12 @@ import type { IconProps } from './types' export function MembersIcon(props: IconProps) { - const { color = 'currentColor', ...rest } = props + const { color = 'currentColor', size = 20, ...rest } = props return ( { children?: never + width?: never + height?: never color?: string + size?: number }