Skip to content

useLayout ​

useLayout() udostępnia stan i działania dla trybu Flex lub Grid, rozmiaru szerokości i wysokości, wypełnienia, wyrównania oraz ścieżek szablonu siatki.

ts
const {
  isGrid,
  isFlex,
  widthSizing,
  heightSizing,
  setAxisSizing,
  updateAxisSize,
  commitAxisSize,
} = useLayout()

Zobacz też ​

Released under the MIT License.